GNU bug report logs - #5658
23.1; Viewing .info files in Emacs' info-viewer

Previous Next

Package: emacs;

Reported by: usr.gentoo <at> googlemail.com

Date: Sun, 28 Feb 2010 20:09:01 UTC

Severity: minor

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #25 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Kevin Rodgers <kevin.d.rodgers <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#5658: 23.1; Viewing .info files in Emacs' info-viewer
Date: Thu, 04 Mar 2010 22:29:38 -0700
Juri Linkov wrote:
>> That doesn't work either: even if the file is editable,
>> the buffer is read-only.
>>
>> It should be something like:
>>
>> (lambda ()
>>   (let ((Info-enable-edit buffer-read-only))
>>     (Info-on-current-buffer)
>>     (when Info-enable-edit
>>       (Info-edit))))

Oops, I meant (let ((Info-enable-edit (not buffer-read-only)) ...)

> Definitely not.  `Info-edit' is not recommended to use according
> to the docstring of `Info-enable-edit'. It is disabled by default.

That is a good default, because normally one is viewing an Info file via
`C-h i' (including `C-u C-h i').  But if one has explicitly visited a file
via `find-file' and friends, then The Full Power of Emacs Shall Be at Your
Fingertips.  :-)

> Your code overrides its default value.

Only temporarily.

-- 
Kevin Rodgers
Denver, Colorado, USA






This bug report was last modified 12 years and 190 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.