all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Philippe Vaucher <philippe.vaucher@gmail.com>
Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org
Subject: Re: tabulated-list sort icon is reversed
Date: Fri, 08 Mar 2019 11:43:42 +0200	[thread overview]
Message-ID: <83r2bhaegh.fsf@gnu.org> (raw)
In-Reply-To: <CAGK7Mr4bmauVszHWAZoZLn3LqE2WcTvtdU2_MUaPAuW32N7qAg@mail.gmail.com> (message from Philippe Vaucher on Sat, 2 Mar 2019 20:06:49 +0100)

> From: Philippe Vaucher <philippe.vaucher@gmail.com>
> Date: Sat, 2 Mar 2019 20:06:49 +0100
> Cc: Stefan Monnier <monnier@iro.umontreal.ca>, Emacs developers <emacs-devel@gnu.org>
> 
> Here we go. I'm not familiar with the NEWS redaction so feel free to change the text.

Thanks.  See some minor comments below.

Also, what about updating the Emacs user manual with the description
of the new user options?

> (tabulated-list-gui-sort-indicator-asc): New defcustom.
> (tabulated-list-gui-sort-indicator-desc): New defcustom.
> (tabulated-list-tty-sort-indicator-asc): New defcustom.
> (tabulated-list-tty-sort-indicator-desc): New defcustom.

This is not wrong, but could be abbreviated:

(tabulated-list-gui-sort-indicator-asc)
(tabulated-list-gui-sort-indicator-desc)
(tabulated-list-tty-sort-indicator-asc)
(tabulated-list-tty-sort-indicator-desc): New defcustom.

> (tabulated-list-glyphless-char-display): Removal.

We use "Removed".

> --- a/etc/NEWS
> +++ b/etc/NEWS
> @@ -279,6 +279,15 @@ matches strings where the pattern appears as a subsequence.  Put
>  simply, makes "foo" complete to both "barfoo" and "frodo".  Add 'flex'
>  to 'completion-styles' or 'completion-category-overrides' to use it.
>  
> ++++

the "+++" marker means the manuals have been updated, but I don't see
the patch for the manuals.

> +** New user options for tabulated list sort indicators

The header should end in a period.

> +The user can customize which sorting indicator character to display
> +near the current column in Tabulated Lists:
> +- tabulated-list-gui-sort-indicator-asc
> +- tabulated-list-gui-sort-indicator-desc
> +- tabulated-list-tty-sort-indicator-asc
> +- tabulated-list-tty-sort-indicator-desc

We don't use itemized lists in NEWS, and also we quote Lisp symbols
'like this'.

> +(defcustom tabulated-list-gui-sort-indicator-asc ?▼
> +  "GUI indicator displayed near the current column when the sort order
> +is ascending."

the first line of a doc string should be a single complete sentence,
fr the benefit of the apropos* commands, which only show the first
line.  If the first sentence is too long, say the most important part
in the first sentence, and leave the details for the rest of the doc
string.  In this case, I'd suggest something like this:

    "Indicator for column sorted in ascending order, for GUI frames.
  See `tabulated-list-tty-sort-indicator-asc' for indicator used on
  text-mode frames."

> -(defvar tabulated-list-glyphless-char-display
> +(defun tabulated-list-make-glyphless-char-display-table ()
> +  "Make the `glyphless-char-display' table used in Tabulated List buffers."

I'd suggest to mention here that this table is used for displaying the
soring indicators.



  reply	other threads:[~2019-03-08  9:43 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-28 18:14 tabulated-list sort icon is reversed Philippe Vaucher
2018-07-28 19:03 ` Eli Zaretskii
2018-07-28 22:00   ` Philippe Vaucher
2018-07-29 17:34     ` Eli Zaretskii
2018-07-30  7:14       ` Robert Pluim
2018-07-30 10:47       ` Joost Kremers
2018-07-30 14:48         ` Drew Adams
2018-07-30 15:17           ` Robert Pluim
2018-07-30 15:24             ` Eli Zaretskii
2018-07-30 17:33       ` Stefan Monnier
2018-07-30 17:57         ` Clément Pit-Claudel
2018-07-31 18:28           ` Philippe Vaucher
2018-07-31 18:34         ` Philippe Vaucher
2018-07-31 18:35           ` Philippe Vaucher
2018-07-31 19:24           ` Stefan Monnier
2018-07-31 19:37             ` Drew Adams
2018-07-31 20:19               ` Stefan Monnier
2018-07-31 21:46                 ` Drew Adams
2018-08-01 20:48                   ` Joost Kremers
2018-08-02  2:09                     ` Richard Stallman
2018-08-02  5:02                       ` Stefan Monnier
2018-08-02  8:56                         ` Philippe Vaucher
2018-08-02 13:09                         ` Clément Pit-Claudel
2018-08-03 11:13                         ` Joost Kremers
2018-08-03 11:23                           ` Robert Pluim
2018-08-05  4:01                       ` Van L
2018-08-10  9:56                         ` Philippe Vaucher
2018-08-10 12:18                           ` Eli Zaretskii
2018-08-10 12:37                             ` Philippe Vaucher
2018-08-10 12:49                               ` Eli Zaretskii
2018-08-10 14:07                                 ` Philippe Vaucher
2018-08-10 13:20                           ` Clément Pit-Claudel
2018-08-10 14:11                             ` Philippe Vaucher
2018-08-10 14:52                               ` Yuri Khan
2018-08-10 20:10                                 ` Philippe Vaucher
2019-02-12 19:13                               ` Clément Pit-Claudel
2019-02-12 19:43                                 ` Eli Zaretskii
2019-02-12 20:54                                   ` Clément Pit-Claudel
2019-02-15 13:38                                   ` Philippe Vaucher
2019-02-15 14:05                                     ` Clément Pit-Claudel
2019-02-15 14:15                                     ` Eli Zaretskii
2019-02-15 14:42                                       ` Philippe Vaucher
2019-02-27 20:08                                         ` Philippe Vaucher
2019-02-27 20:21                                           ` Clément Pit-Claudel
2019-02-27 21:23                                           ` Stefan Monnier
2019-02-28  7:55                                             ` Philippe Vaucher
2019-03-01  9:48                                               ` Philippe Vaucher
2019-03-01 13:56                                                 ` Stefan Monnier
2019-03-01 16:34                                                   ` Philippe Vaucher
2019-03-01 17:34                                                     ` Stefan Monnier
2019-03-01 18:14                                                       ` Philippe Vaucher
2019-03-02 11:53                                               ` Eli Zaretskii
2019-03-02 17:48                                                 ` Philippe Vaucher
2019-03-02 17:51                                                   ` Philippe Vaucher
2019-03-02 18:15                                                     ` Eli Zaretskii
2019-03-02 19:06                                                       ` Philippe Vaucher
2019-03-08  9:43                                                         ` Eli Zaretskii [this message]
2019-03-08 13:38                                                           ` Stefan Monnier
2019-03-08 14:35                                                             ` Eli Zaretskii
2019-03-09 10:18                                                           ` Philippe Vaucher
2019-03-09 10:20                                                             ` Philippe Vaucher
2019-03-09 15:06                                                             ` Eli Zaretskii
2019-03-09 17:08                                                               ` Philippe Vaucher
2019-03-09 17:19                                                                 ` Eli Zaretskii
2019-03-09 19:57                                                                 ` Stefan Monnier
2019-03-11  9:08                                                                   ` Philippe Vaucher
2019-03-11 10:54                                                                     ` Philippe Vaucher
2019-03-15  9:11                                                                       ` Eli Zaretskii
2019-03-17 11:55                                                                         ` Philippe Vaucher
2019-03-02 18:15                                                   ` Eli Zaretskii
2018-08-02  8:56                     ` Philippe Vaucher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83r2bhaegh.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=philippe.vaucher@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.