[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Package menu not read-only
From: |
Chong Yidong |
Subject: |
Re: Package menu not read-only |
Date: |
Sun, 24 Oct 2010 11:53:12 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Ralf Angeli <address@hidden> writes:
> the buffer with the package menu (`M-x list-packages <RET>') is not
> read-only. The problem is due to `buffer-read-only' being set to nil in
> `package--generate-package-list'. This seems to be unnecessary because
> `inhibit-read-only' is temporarily set to t anyway. So I'd suggest the
> following fix which I can apply if there are no objections.
Thanks, committed.
> I noticed the problem when typing <TAB> in the buffer in order to jump
> to the next "link". Apparently the package names are no links at all
> and <TAB> does not make much sense here.
They are links, or rather buttons, and are clickable with the mouse.
I've just changed package-menu-mode-map to make button-buffer-map its
parent. This should let TAB work.
> In order to make it more apparent that commands in the buffer work on
> whole lines and the horizontal position of point is not really
> relevant one could also highlight the whole line in which point is
> located, similar to what RefTeX does in table of contents (`C-c =' in
> a LaTeX file).
I don't think it's a good idea for non-electric modes to highlight the
whole line. For the case of the *Packages* menu, the text color helps
to indicate each package's installation status, and it would be annoying
to have this information masked hidden for the current line.