GNU bug report logs - #54967
28.1; outline-minor-mode-cycle-filter docstring is awkward

Previous Next

Package: emacs;

Reported by: Howard Melman <hmelman <at> gmail.com>

Date: Sat, 16 Apr 2022 00:05:02 UTC

Severity: minor

Found in version 28.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 54967 in the body.
You can then email your comments to 54967 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#54967; Package emacs. (Sat, 16 Apr 2022 00:05:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Howard Melman <hmelman <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 16 Apr 2022 00:05:02 GMT) Full text and rfc822 format available.

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

From: Howard Melman <hmelman <at> gmail.com>
To: GNU Emacs <bug-gnu-emacs <at> gnu.org>
Subject: 28.1; outline-minor-mode-cycle-filter docstring is awkward
Date: Fri, 15 Apr 2022 20:04:40 -0400
The docstring of outline-minor-mode-cycle-filter says it
filters out positions available for cycling.  But the
options the user has (via customize) describe the places on
the heading that will remain for cycling.

(defcustom outline-minor-mode-cycle-filter nil
  "Filter out positions on the heading available for cycling."
  :type '(choice (const :tag "Everywhere" nil)
                 (const :tag "At line beginning" bolp)
                 (const :tag "Not at line beginning"
                        (lambda () (not (bolp))))
                 (const :tag "At line end" eolp)
                 (function :tag "Custom filter"))
  :version "28.1")

E.g., if I choose "At line beginning" then cycling works if
point is at the beginning of line.  But the doc sounds to
me like it shouldn't work at that location.

Maybe it should be something like:

    "Allowed heading positions available for cycling."

And I think it should probably mention that this means other
positions in the heading are allowed for indenting or
tabbing, but I'm not sure how to phrase that in a way that
works if people rebind commands to different keys.

Howard

In GNU Emacs 28.1 (build 1, x86_64-apple-darwin20.6.0, Carbon Version 164 AppKit 2022.6)
of 2022-04-09 built on Mac-1649520554451.local
Repository revision: ee79b048bbb2fd4a962dfb2204cc7a2f0d5237d8
Repository branch: 28.1-mac-9.0-CI
Windowing system distributor 'Apple Inc.', version 11.6.5
System Description:  macOS 11.6.5




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 16 Apr 2022 07:58:01 GMT) Full text and rfc822 format available.

Notification sent to Howard Melman <hmelman <at> gmail.com>:
bug acknowledged by developer. (Sat, 16 Apr 2022 07:58:01 GMT) Full text and rfc822 format available.

Message #10 received at 54967-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Howard Melman <hmelman <at> gmail.com>
Cc: 54967-done <at> debbugs.gnu.org
Subject: Re: bug#54967: 28.1;
 outline-minor-mode-cycle-filter docstring is awkward
Date: Sat, 16 Apr 2022 10:57:41 +0300
> From: Howard Melman <hmelman <at> gmail.com>
> Date: Fri, 15 Apr 2022 20:04:40 -0400
> 
> The docstring of outline-minor-mode-cycle-filter says it
> filters out positions available for cycling.  But the
> options the user has (via customize) describe the places on
> the heading that will remain for cycling.
> 
> (defcustom outline-minor-mode-cycle-filter nil
>   "Filter out positions on the heading available for cycling."
>   :type '(choice (const :tag "Everywhere" nil)
>                  (const :tag "At line beginning" bolp)
>                  (const :tag "Not at line beginning"
>                         (lambda () (not (bolp))))
>                  (const :tag "At line end" eolp)
>                  (function :tag "Custom filter"))
>   :version "28.1")
> 
> E.g., if I choose "At line beginning" then cycling works if
> point is at the beginning of line.  But the doc sounds to
> me like it shouldn't work at that location.

Thanks, I fixed the doc string of this option (and some other related
ones) for Emacs 28.2.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#54967; Package emacs. (Sat, 16 Apr 2022 11:36:01 GMT) Full text and rfc822 format available.

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

From: Howard Melman <hmelman <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#54967: 28.1;
 outline-minor-mode-cycle-filter docstring is awkward
Date: Sat, 16 Apr 2022 07:30:50 -0400
Eli Zaretskii <eliz <at> gnu.org> writes:

>> The docstring of outline-minor-mode-cycle-filter
>
> Thanks, I fixed the doc string of this option (and some
> other related ones) for Emacs 28.2.

Thanks, they look much better.

-- 

Howard





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 15 May 2022 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 95 days ago.

Previous Next


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