* bug#57483: 28.1.91; expand hl-line-mode to highlight-line-mode for readability
@ 2022-08-30 7:23 Van Ly
2022-08-30 10:35 ` Lars Ingebrigtsen
0 siblings, 1 reply; 8+ messages in thread
From: Van Ly @ 2022-08-30 7:23 UTC (permalink / raw)
To: 57483
[-- Attachment #1: Type: text/plain, Size: 632 bytes --]
The sequence "hl" is easy to type but recalling its function after not
using it a while takes effort. Seeing "Hl-Line mode enabled in
current buffer" also takes effort to read.
In the spirit of "display-line-numbers-mode" can "highlight-line-mode"
be the full expansion for feedback and the expansion to "hl"?
Steps to reproduce
. start "emacs -Q"
. type three lines of "q"
. on the middle line type "M-x hl" and TAB to use the completion
An improvement from my point of view
. on the middle line type "hl" and TAB to use the completion
. the completion expands what was "hl-line-mode" to "highlight-line-mode"
[-- Attachment #2: generated bug report --]
[-- Type: text/plain, Size: 3101 bytes --]
In GNU Emacs 28.1.91 (build 1, aarch64-unknown-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0)
of 2022-08-08 built on charlie
Repository revision: 059ab47a0664012b4d8cf8cc36b7d8a28b80c614
Repository branch: main
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description: Debian GNU/Linux 11 (bullseye)
Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY
INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS
X11 XDBE XIM XPM GTK3 ZLIB
Important settings:
value of $LC_ALL: en_AU.UTF-8
value of $LANG: en_AU.UTF-8
locale-coding-system: utf-8-unix
Major mode: Lisp Interaction
Minor modes in effect:
hl-line-mode: t
tooltip-mode: t
global-eldoc-mode: t
eldoc-mode: t
show-paren-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
indent-tabs-mode: t
transient-mark-mode: t
Load-path shadows:
None found.
Features:
(shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util rmail
rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs
eieio-loaddefs password-cache json map text-property-search time-date
subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs
cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils
hl-line iso-transl tooltip eldoc paren electric uniquify ediff-hook
vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode lisp-mode prog-mode register
page tab-bar menu-bar rfn-eshadow isearch easymenu timer select
scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors
frame minibuffer cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button
loaddefs faces cus-face macroexp files window text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote threads dbusbind inotify lcms2
dynamic-setting system-font-setting font-render-setting cairo
move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)
Memory information:
((conses 16 52322 4205)
(symbols 48 6641 1)
(strings 32 19274 1434)
(string-bytes 1 628769)
(vectors 16 13991)
(vector-slots 8 186836 8864)
(floats 8 22 36)
(intervals 56 231 0)
(buffers 992 11))
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#57483: 28.1.91; expand hl-line-mode to highlight-line-mode for readability
2022-08-30 7:23 bug#57483: 28.1.91; expand hl-line-mode to highlight-line-mode for readability Van Ly
@ 2022-08-30 10:35 ` Lars Ingebrigtsen
2022-08-30 11:40 ` Van Ly
2022-08-30 12:03 ` Eli Zaretskii
0 siblings, 2 replies; 8+ messages in thread
From: Lars Ingebrigtsen @ 2022-08-30 10:35 UTC (permalink / raw)
To: Van Ly; +Cc: 57483
Van Ly <van.ly@sdf.org> writes:
> The sequence "hl" is easy to type but recalling its function after not
> using it a while takes effort. Seeing "Hl-Line mode enabled in
> current buffer" also takes effort to read.
>
> In the spirit of "display-line-numbers-mode" can "highlight-line-mode"
> be the full expansion for feedback and the expansion to "hl"?
>
> Steps to reproduce
> . start "emacs -Q"
> . type three lines of "q"
> . on the middle line type "M-x hl" and TAB to use the completion
>
> An improvement from my point of view
> . on the middle line type "hl" and TAB to use the completion
> . the completion expands what was "hl-line-mode" to "highlight-line-mode"
We could consider renaming hl-line-mode to highlight-line-mode, I guess?
Anybody have any opinions?
But I don't think completing hl to highlight-line-mode would make much
sense, even if it was possible, because nobody would be typing `M-x hl
TAB' in the first place without knowing that the mode was called
`hl-line-mode'.
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#57483: 28.1.91; expand hl-line-mode to highlight-line-mode for readability
2022-08-30 10:35 ` Lars Ingebrigtsen
@ 2022-08-30 11:40 ` Van Ly
2022-08-30 12:03 ` Eli Zaretskii
1 sibling, 0 replies; 8+ messages in thread
From: Van Ly @ 2022-08-30 11:40 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: 57483
On Tue, 30 Aug 2022, Lars Ingebrigtsen wrote:
>
> But I don't think completing hl to highlight-line-mode would make much
> sense, even if it was possible, because nobody would be typing `M-x hl
> TAB' in the first place without knowing that the mode was called
> `hl-line-mode'.
>
When I have my muddled together emacs configuration not running
from "emacs -Q" the following shows
M-x hl
hl-line-mode
hi-lock-mode
holiday-list
...
true, I don't use "M-x hl TAB" but "M-x hl C-j" to take the option
at top of the listing. I think more sense is gained from
M-x hl
highlight-line-mode
...
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#57483: 28.1.91; expand hl-line-mode to highlight-line-mode for readability
2022-08-30 10:35 ` Lars Ingebrigtsen
2022-08-30 11:40 ` Van Ly
@ 2022-08-30 12:03 ` Eli Zaretskii
2022-08-30 12:22 ` Lars Ingebrigtsen
2022-08-30 13:35 ` Van Ly
1 sibling, 2 replies; 8+ messages in thread
From: Eli Zaretskii @ 2022-08-30 12:03 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: 57483, van.ly
> Cc: 57483@debbugs.gnu.org
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Tue, 30 Aug 2022 12:35:24 +0200
>
> We could consider renaming hl-line-mode to highlight-line-mode, I guess?
> Anybody have any opinions?
We cannot rename such a veteran mode. But we can add an alias.
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#57483: 28.1.91; expand hl-line-mode to highlight-line-mode for readability
2022-08-30 12:03 ` Eli Zaretskii
@ 2022-08-30 12:22 ` Lars Ingebrigtsen
2022-08-30 12:41 ` Lars Ingebrigtsen
2022-08-30 12:49 ` Eli Zaretskii
2022-08-30 13:35 ` Van Ly
1 sibling, 2 replies; 8+ messages in thread
From: Lars Ingebrigtsen @ 2022-08-30 12:22 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 57483, van.ly
Eli Zaretskii <eliz@gnu.org> writes:
> We cannot rename such a veteran mode. But we can add an alias.
I was thinking of renaming it and adding hl-line-mode as an alias.
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#57483: 28.1.91; expand hl-line-mode to highlight-line-mode for readability
2022-08-30 12:03 ` Eli Zaretskii
2022-08-30 12:22 ` Lars Ingebrigtsen
@ 2022-08-30 13:35 ` Van Ly
1 sibling, 0 replies; 8+ messages in thread
From: Van Ly @ 2022-08-30 13:35 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 57483, Lars Ingebrigtsen
On Tue, 30 Aug 2022, Eli Zaretskii wrote:
>> Cc: 57483@debbugs.gnu.org
>> From: Lars Ingebrigtsen <larsi@gnus.org>
>> Date: Tue, 30 Aug 2022 12:35:24 +0200
>>
>> We could consider renaming hl-line-mode to highlight-line-mode, I guess?
>> Anybody have any opinions?
>
> We cannot rename such a veteran mode. But we can add an alias.
>
Also, with emacs customized the way that works for me, the following
happens to "M-x hl TAB"
M-x hl TAB
[listing changes unexpectedly]
M-x h-l
flush-lines
LaTeX-math-lg
LaTeX-math-ll
...
What triggered me to file this bug is this chicken and egg problem.
I want to activate "highlight line" mode but my short term memory at
the finger tips has forgotten "hl" at the "M-x hl C-j". So I go
typing "M-x highlight" but the generated listing doesn't fetch the
unavailable "hl-line-mode" which I very much prefer to see as
"highlight-line-mode".
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2022-08-30 13:35 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-30 7:23 bug#57483: 28.1.91; expand hl-line-mode to highlight-line-mode for readability Van Ly
2022-08-30 10:35 ` Lars Ingebrigtsen
2022-08-30 11:40 ` Van Ly
2022-08-30 12:03 ` Eli Zaretskii
2022-08-30 12:22 ` Lars Ingebrigtsen
2022-08-30 12:41 ` Lars Ingebrigtsen
2022-08-30 12:49 ` Eli Zaretskii
2022-08-30 13:35 ` Van Ly
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.