emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#22727: closed (Managing packages writes the user i


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#22727: closed (Managing packages writes the user init file)
Date: Fri, 19 Feb 2016 06:37:01 +0000

Your message dated Fri, 19 Feb 2016 07:36:50 +0100
with message-id <address@hidden>
and subject line Re: bug#22727: Managing packages writes the user init file
has caused the debbugs.gnu.org bug report #22727,
regarding Managing packages writes the user init file
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
22727: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22727
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: Managing packages writes the user init file Date: Thu, 18 Feb 2016 01:49:36 +0100 User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
I have noticed that just using

  Options - Manage Emacs Packages

writes my init file. For example I find these additions in my case:

(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(package-selected-packages (quote (tabbar-ruler sr-speedbar))))
(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 )

I discovered this only casually..

I think this is not the right thing to do. Why an application should write a file which belongs to the user?

Maybe there is a better way saving those additions in another file which the use could customize, more or less as we do with the desktop file or lock file. For example in my init.el file I have

;; Instead to save in ~/.projects.ede
(setq ede-project-placeholder-cache-file "~/.emacs.d/projects.ede")

;; Instead to save in ~/.emacs.desktop
(setq desktop-base-file-name "~/.emacs.d/desktop")

;; Instead to save in ~/.emacs.desktop.lock
(setq desktop-base-lock-name "~/.emacs.d/desktop.lock")

We could have something like this

;; Instead to save in ~/.emacs.packages_installed
(setq desktop-base-lock-name "~/.emacs.d/packages_installed")


This would be very useful.. :)


TIA,
 Angelo.





--- End Message ---
--- Begin Message --- Subject: Re: bug#22727: Managing packages writes the user init file Date: Fri, 19 Feb 2016 07:36:50 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)
Angelo Graziosi <address@hidden> writes:
>                          please close this bug report (who is
> interested could always reopen another)

done.

Note that you can do that yourself by appending -done to the bug number
in the bug address (I did just that).

Nicolas.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]