emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 4/4] octave.el: Use `locate-user-emacs-file'.


From: Rüdiger Sonderfeld
Subject: Re: [PATCH 4/4] octave.el: Use `locate-user-emacs-file'.
Date: Sat, 28 Sep 2013 13:59:55 +0200
User-agent: KMail/4.10.5 (Linux/3.8.0-30-generic; KDE/4.10.5; x86_64; ; )

On Saturday 28 September 2013 10:10:31 Leo Liu wrote:
> Is this the default init file for octave in upcoming release? If yes
> then that is not a good idea. We should give people a emacs-specific
> file so that they can put emacs-specific settings there with common
> settings in the standard init file. What do you think?

No, it's Emacs specific.  It is in `user-emacs-directory' (typically 
~/.emacs.d).  Emacs is moving more and more stuff into `user-emacs-directory' 
to avoid spamming the user's home directory and I think octave.el should do 
that as well.

See also "** More packages look for ~/.emacs.d/<foo> additionally to 
~/.<foo>." in /etc/NEWS and the documentation of `locate-user-emacs-file'.

Regards,
Rüdiger

btw. there should also be a way to fix octave's doc statement in `inferior-
octave'.  In the past there was a script "info-emacs-info" which could be used 
to call emacs instead of info(1).  But it was removed from the octave 
distribution a while ago and it depended on the old gnuserv instead of 
server.el.

We could either write a new "info-emacs-info".  But I don't think the Emacs 
maintainers would be happy to ship a script like that if it's only used for 
octave.el.

Alternatively we could avoid using such a script if we get a way for server.el 
to handle additional command line options (as discussed here 
https://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00569.html) and for 
"doc" to pass additional options to "info_program()" (I talked about that with 
JordiGH and he says such a change would be acceptable).

Any ideas on that?




reply via email to

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