[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [DISCUSSION] "quick-help" popup for org-columns (column view)
From: |
Eli Zaretskii |
Subject: |
Re: [DISCUSSION] "quick-help" popup for org-columns (column view) |
Date: |
Mon, 08 Apr 2024 14:46:24 +0300 |
> From: Sławomir Grochowski <slawomir.grochowski@gmail.com>
> Cc: yantar92@posteo.net, emacs-orgmode@gnu.org, emacs-devel@gnu.org,
> philipk@posteo.net, stefankangas@gmail.com, larsi@gnus.org,
> hmelman@gmail.com, info@protesilaos.com
> Date: Mon, 08 Apr 2024 09:38:40 +0200
>
> > The idea here was that some other function could rebind
> > `help-quick-sections' dynamically. That way you avoid the redundant
> > arguments (which would all have to be documented).
>
> Is this really a good practice?
> Relying on global variables instead of passing variables as a parameters?
Emacs is full of such practices, so don't worry about that, it's quite
common (and considered good practice) in Emacs Lisp.
> Eli Zaretskii <eliz@gnu.org> writes:
> > In any case, we cannot change the signature of help-quick, since it's a
> > public function.
>
> If I can't modify the function `help-quick' how can I make it work?
You write a new function with the signature you like and make
help-quick call it to do the actual job. Where you want to use the
signature of the new function, you call it directly.
- Re: [DISCUSSION] "quick-help" popup for org-columns (column view), (continued)
- Re: [DISCUSSION] "quick-help" popup for org-columns (column view), Sławomir Grochowski, 2024/04/08
- Re: [DISCUSSION] "quick-help" popup for org-columns (column view), Philip Kaludercic, 2024/04/10
- Re: [DISCUSSION] "quick-help" popup for org-columns (column view), Sławomir Grochowski, 2024/04/10
- Re: [DISCUSSION] "quick-help" popup for org-columns (column view), Philip Kaludercic, 2024/04/11
- Re: [DISCUSSION] "quick-help" popup for org-columns (column view), Philip Kaludercic, 2024/04/11
- Re: [DISCUSSION] "quick-help" popup for org-columns (column view), Sławomir Grochowski, 2024/04/11
- Re: [DISCUSSION] "quick-help" popup for org-columns (column view), Philip Kaludercic, 2024/04/13
- Re: [DISCUSSION] "quick-help" popup for org-columns (column view), Sławomir Grochowski, 2024/04/15
- Re: [DISCUSSION] "quick-help" popup for org-columns (column view), Philip Kaludercic, 2024/04/16
- Re: [DISCUSSION] "quick-help" popup for org-columns (column view), Sławomir Grochowski, 2024/04/18
- Re: [DISCUSSION] "quick-help" popup for org-columns (column view),
Eli Zaretskii <=