all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#23050: package.el overwrites symlinks when saving "(package-initialize)"
@ 2016-03-18  6:53 Jackson Hamilton
  2016-03-19  2:05 ` Glenn Morris
  2016-05-23  0:40 ` bug#23050: package.el overwrites symlinks when saving "(package-initialize)" Paul Eggert
  0 siblings, 2 replies; 5+ messages in thread
From: Jackson Hamilton @ 2016-03-18  6:53 UTC (permalink / raw)
  To: 23050

[-- Attachment #1: Type: text/plain, Size: 832 bytes --]

Emacs version: 25.0.91.1
OS: Debian 8 GNU/Linux

When I create a symlink in my ~/.emacs.d directory to my init.el file at
some other location, and the init file does not have "(package-initialize)"
inside it, then when package.el adds the "(package-initialize)" line to my
init file on startup, instead of updating the original file, it seems to
make a copy of the symlinked file in the ~/.emacs.d directory. This is bad,
because now (probably without my immediate knowledge), I now have two very
similar init files, and editing the supposedly-symlinked one will do
nothing.

I don't really like the idea of my init file being written-to without my
consent in the first place. But anyway, Emacs should at least do me the
courtesy of modifying the symlinked file, because that's clearly the only
copy of the file I want to maintain.

[-- Attachment #2: Type: text/html, Size: 934 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-05-23  0:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-18  6:53 bug#23050: package.el overwrites symlinks when saving "(package-initialize)" Jackson Hamilton
2016-03-19  2:05 ` Glenn Morris
2016-03-19  2:13   ` Glenn Morris
2016-03-22 16:51     ` bug#23050: package.el overwrites symlinks when saving Bogolisk
2016-05-23  0:40 ` bug#23050: package.el overwrites symlinks when saving "(package-initialize)" Paul Eggert

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.