unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Rüdiger Sonderfeld" <ruediger@c-plusplus.de>
To: Leo Liu <sdl.web@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: [PATCH 4/4] octave.el: Use `locate-user-emacs-file'.
Date: Sat, 28 Sep 2013 13:59:55 +0200	[thread overview]
Message-ID: <1594913.F567OrytgR@descartes> (raw)
In-Reply-To: <m1had5k86g.fsf@gmail.com>

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	other threads:[~2013-09-28 11:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-27 15:20 [PATCH 4/4] octave.el: Use `locate-user-emacs-file' Rüdiger Sonderfeld
2013-09-28  0:35 ` Stefan Monnier
2013-09-28  2:10 ` Leo Liu
2013-09-28 11:59   ` Rüdiger Sonderfeld [this message]
2013-09-30  1:16     ` Leo Liu
2013-09-30  1:20     ` Leo Liu
2013-10-02 20:42       ` Rüdiger Sonderfeld

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1594913.F567OrytgR@descartes \
    --to=ruediger@c-plusplus.de \
    --cc=emacs-devel@gnu.org \
    --cc=sdl.web@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).