From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?R=FCdiger?= Sonderfeld Newsgroups: gmane.emacs.devel Subject: Re: [PATCH 4/4] octave.el: Use `locate-user-emacs-file'. Date: Sat, 28 Sep 2013 13:59:55 +0200 Message-ID: <1594913.F567OrytgR@descartes> References: <1576674.5hNPsu3pnl@descartes> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1380369615 32336 80.91.229.3 (28 Sep 2013 12:00:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 28 Sep 2013 12:00:15 +0000 (UTC) Cc: emacs-devel@gnu.org To: Leo Liu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 28 14:00:19 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VPtC6-0004hG-OL for ged-emacs-devel@m.gmane.org; Sat, 28 Sep 2013 14:00:18 +0200 Original-Received: from localhost ([::1]:40777 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPtC6-0007V4-By for ged-emacs-devel@m.gmane.org; Sat, 28 Sep 2013 08:00:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40520) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPtBy-0007Lt-1W for emacs-devel@gnu.org; Sat, 28 Sep 2013 08:00:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VPtBs-0003rm-7C for emacs-devel@gnu.org; Sat, 28 Sep 2013 08:00:09 -0400 Original-Received: from ptmx.org ([178.63.28.110]:48029) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPtBs-0003nH-2C for emacs-devel@gnu.org; Sat, 28 Sep 2013 08:00:04 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by ptmx.org (Postfix) with ESMTP id 6B21A2AA9B; Sat, 28 Sep 2013 14:00:02 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at ptmx.org Original-Received: from ptmx.org ([127.0.0.1]) by localhost (ptmx.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Y33grwsg32ZO; Sat, 28 Sep 2013 14:00:01 +0200 (CEST) Original-Received: from descartes.localnet (chello080108246092.7.14.vie.surfer.at [80.108.246.92]) by ptmx.org (Postfix) with ESMTPSA id B6A532A9FF; Sat, 28 Sep 2013 14:00:00 +0200 (CEST) User-Agent: KMail/4.10.5 (Linux/3.8.0-30-generic; KDE/4.10.5; x86_64; ; ) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 178.63.28.110 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:163702 Archived-At: 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=20= ~/.emacs.d). Emacs is moving more and more stuff into `user-emacs-dire= ctory'=20 to avoid spamming the user's home directory and I think octave.el shoul= d do=20 that as well. See also "** More packages look for ~/.emacs.d/ additionally to=20= ~/.." in /etc/NEWS and the documentation of `locate-user-emacs-fil= e'. Regards, R=C3=BCdiger btw. there should also be a way to fix octave's doc statement in `infer= ior- octave'. In the past there was a script "info-emacs-info" which could = be used=20 to call emacs instead of info(1). But it was removed from the octave=20= distribution a while ago and it depended on the old gnuserv instead of=20= server.el. We could either write a new "info-emacs-info". But I don't think the E= macs=20 maintainers would be happy to ship a script like that if it's only used= for=20 octave.el. Alternatively we could avoid using such a script if we get a way for se= rver.el=20 to handle additional command line options (as discussed here=20 https://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00569.html) a= nd for=20 "doc" to pass additional options to "info_program()" (I talked about th= at with=20 JordiGH and he says such a change would be acceptable). Any ideas on that?