Bug 999932

Summary: desktop loading broken
Product: [Fedora] Fedora Reporter: Ales Kozumplik <akozumpl>
Component: emacsAssignee: Petr Hracek <phracek>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: jkoncick, jonathan.underwood, jzeleny, phracek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-27 08:27:17 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 Ales Kozumplik 2013-08-22 11:39:41 UTC
Version-Release number of selected component (if applicable):
emacs-24.3-11.fc19.x86_64

How reproducible:
deterministic

Steps to Reproduce:
1. create a new directory, cd into it
2. emacs
3. edit a new file with a few lines, save it under the dir, stay in the file's buffer
4. M-x desktop-save, choose the created dir
5. C-x C-c
6. stay in the created dir
7. emacs

Actual results:
*scratch* buffer opens, there's no buffer created with the new files

Expected results:
http://www.gnu.org/software/emacs/manual/html_mono/emacs.html#Saving-Emacs-Sessions


Additional info:
Worked in early F19.

Comment 1 Petr Hracek 2013-09-23 14:28:42 UTC
Hi,

the problem was posted into emacs upstream discussion
https://groups.google.com/forum/#!topic/gnu.emacs.bug/iYbniSWmhJU

Comment 2 Ales Kozumplik 2013-09-27 08:18:21 UTC
Petr, thanks for posting that link. I even found that this has really been documented in the release NEWS:

/usr/share/emacs/24.3/etc/NEWS

** `desktop-path' no longer includes the "." directory.
Desktop files are now located in ~/.emacs.d by default.

It unfortunately looks like emacs upstream is not much afraid of breaking tiny things like this and we'll have to read the NEWS more often.

Here's what fixed it for me in my .emacs:

(setq desktop-path (cons "./" desktop-path))

As far as I'm concerned you can close this now as NOTABUG.

Comment 3 Petr Hracek 2013-09-27 08:27:17 UTC
Hello Ales,

thanks for your update as well.
I will mark notice about this problem in case that other BZs will come up.