Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1991156

Summary: Error given on trying to compose outgoing email - suggested fix included
Product: Red Hat Enterprise Linux 8 Reporter: Roger Sewell <roger.sewell>
Component: emacsAssignee: Jacek Migacz <jmigacz>
Status: CLOSED ERRATA QA Contact: Frantisek Sumsal <fsumsal>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.4CC: fsumsal
Target Milestone: betaKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: emacs-26.1-9.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-16 09:11:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Roger Sewell 2021-08-07 17:34:29 UTC
Description of problem:

Using emacs mh-rmail trying to compose an outgoing email leads to an error because of a non-empty directory that is being deleted. (I'm sorry to say that I found the fix for this in early 2020 but forgot to report it.)

Version-Release number of selected component (if applicable):

Package: emacs-common-1:26.1-5.el8.x86_64 
Files: /usr/share/emacs/26.1/lisp/mh-e/mh-comp.el.gz and ..../mh-comp.elc

Unpackaged necessary utility software: GNU mailutils 3.13 from https://mailutils.org/download.html 

How reproducible: Always

Always

Steps to Reproduce:
1. Download, configure, make, install GNU mailutils 3.13 if not already present.
2. Start emacs, run the command mh-rmail (giving a view of your inbox).
3. Type m 

Actual results:

Error message saying that a (temporary) directory of name starting draftfolder is not empty so cannot be deleted.


Expected results:

Gives you an email to compose.


Additional info:

The error is caused by a file .mu-prop not having been deleted.

It can be fixed by adding the line     

(delete-file (concat temp-folder "/" ".mu-prop"))

before line 929 of /usr/share/emacs/26.1/lisp/mh-e/mh-comp.el.gz 

and then running the emacs command byte-compile on that file to update mh-comp.elc . You will need to exit emacs and restart it to be sure that the updated version gets loaded.

Comment 1 Roger Sewell 2022-07-28 20:33:55 UTC
This bug appears to have been fixed in emacs-1:27.2-6.el9.x86_64 - thank you.

Comment 6 errata-xmlrpc 2023-05-16 09:11:43 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: emacs security and bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2023:3042