unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* emacs-29 additional key binding suggestions
@ 2023-04-18 14:15 Robert Pluim
  2023-04-18 15:20 ` [External] : " Drew Adams
  2023-04-20  8:21 ` Eli Zaretskii
  0 siblings, 2 replies; 20+ messages in thread
From: Robert Pluim @ 2023-04-18 14:15 UTC (permalink / raw)
  To: emacs-devel

Hi,

emacs-29 adds `dired-do-eww' and `enriched-toggle-markup', but without
any bindings. We could put the first one on the prefix arg to 'f' in
dired-mode (ʼwʼ and 'W' are already taken), and the latter on 'M-o t'
in enriched-mode.

Robert
-- 



^ permalink raw reply	[flat|nested] 20+ messages in thread

* RE: [External] : emacs-29 additional key binding suggestions
  2023-04-18 14:15 emacs-29 additional key binding suggestions Robert Pluim
@ 2023-04-18 15:20 ` Drew Adams
  2023-04-20  8:21 ` Eli Zaretskii
  1 sibling, 0 replies; 20+ messages in thread
From: Drew Adams @ 2023-04-18 15:20 UTC (permalink / raw)
  To: Robert Pluim, emacs-devel@gnu.org

> emacs-29 adds `dired-do-eww' and `enriched-toggle-markup', but without
> any bindings.

Good.  New commands should generally _not_ be
bound to keys.  Time and experience will tell
whether some new command merits a key binding,
and possibly suggest the kind of binding to use.

> We could put the first one on the prefix arg
> to 'f' in dired-mode (ʼwʼ and 'W' are already
> taken),

Please don't.  At all.  Any user is free to bind
whatever commands s?he likes.  We should never
bind commands just to try to advertise the fact
that there is some new command.  We can aid
discovery in other ways, if that's the aim.

`C-h n' or Help > Emacs News is the usual way to
discover new features.

> and the latter on 'M-o t' in enriched-mode.

Likewise inappropriate.

Just one opinion, of course.


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: emacs-29 additional key binding suggestions
  2023-04-18 14:15 emacs-29 additional key binding suggestions Robert Pluim
  2023-04-18 15:20 ` [External] : " Drew Adams
@ 2023-04-20  8:21 ` Eli Zaretskii
  2023-04-20  9:41   ` Robert Pluim
  2023-04-20 16:06   ` Visuwesh
  1 sibling, 2 replies; 20+ messages in thread
From: Eli Zaretskii @ 2023-04-20  8:21 UTC (permalink / raw)
  To: Robert Pluim; +Cc: emacs-devel

> From: Robert Pluim <rpluim@gmail.com>
> Date: Tue, 18 Apr 2023 16:15:41 +0200
> 
> emacs-29 adds `dired-do-eww' and `enriched-toggle-markup', but without
> any bindings. We could put the first one on the prefix arg to 'f' in
> dired-mode (ʼwʼ and 'W' are already taken)

How about using 'W' with a prefix argument instead?

> and the latter on 'M-o t' in enriched-mode.

't' for "toggle", I presume?  If so, that's too general: what if we
will have another "toggle-something" command in Enriched mode?

How about "M-o m" ('m' for "markup") instead?



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: emacs-29 additional key binding suggestions
  2023-04-20  8:21 ` Eli Zaretskii
@ 2023-04-20  9:41   ` Robert Pluim
  2023-04-20 11:34     ` Eli Zaretskii
  2023-04-20 16:06   ` Visuwesh
  1 sibling, 1 reply; 20+ messages in thread
From: Robert Pluim @ 2023-04-20  9:41 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

>>>>> On Thu, 20 Apr 2023 11:21:03 +0300, Eli Zaretskii <eliz@gnu.org> said:

    >> From: Robert Pluim <rpluim@gmail.com>
    >> Date: Tue, 18 Apr 2023 16:15:41 +0200
    >> 
    >> emacs-29 adds `dired-do-eww' and `enriched-toggle-markup', but without
    >> any bindings. We could put the first one on the prefix arg to 'f' in
    >> dired-mode (ʼwʼ and 'W' are already taken)

    Eli> How about using 'W' with a prefix argument instead?

dʼoh. I had my own binding on W shadowing the default one :-)

    >> and the latter on 'M-o t' in enriched-mode.

    Eli> 't' for "toggle", I presume?  If so, that's too general: what if we
    Eli> will have another "toggle-something" command in Enriched mode?

    Eli> How about "M-o m" ('m' for "markup") instead?

Sure, that works as well.

Robert
-- 



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: emacs-29 additional key binding suggestions
  2023-04-20  9:41   ` Robert Pluim
@ 2023-04-20 11:34     ` Eli Zaretskii
  2023-05-29 12:47       ` Robert Pluim
  0 siblings, 1 reply; 20+ messages in thread
From: Eli Zaretskii @ 2023-04-20 11:34 UTC (permalink / raw)
  To: Robert Pluim; +Cc: emacs-devel

> From: Robert Pluim <rpluim@gmail.com>
> Cc: emacs-devel@gnu.org
> Date: Thu, 20 Apr 2023 11:41:43 +0200
> 
> >>>>> On Thu, 20 Apr 2023 11:21:03 +0300, Eli Zaretskii <eliz@gnu.org> said:
> 
>     >> From: Robert Pluim <rpluim@gmail.com>
>     >> Date: Tue, 18 Apr 2023 16:15:41 +0200
>     >> 
>     >> emacs-29 adds `dired-do-eww' and `enriched-toggle-markup', but without
>     >> any bindings. We could put the first one on the prefix arg to 'f' in
>     >> dired-mode (ʼwʼ and 'W' are already taken)
> 
>     Eli> How about using 'W' with a prefix argument instead?
> 
> dʼoh. I had my own binding on W shadowing the default one :-)
> 
>     >> and the latter on 'M-o t' in enriched-mode.
> 
>     Eli> 't' for "toggle", I presume?  If so, that's too general: what if we
>     Eli> will have another "toggle-something" command in Enriched mode?
> 
>     Eli> How about "M-o m" ('m' for "markup") instead?
> 
> Sure, that works as well.

If you want to do this, please go ahead, and thanks.



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: emacs-29 additional key binding suggestions
  2023-04-20  8:21 ` Eli Zaretskii
  2023-04-20  9:41   ` Robert Pluim
@ 2023-04-20 16:06   ` Visuwesh
  2023-04-20 17:55     ` Robert Pluim
  1 sibling, 1 reply; 20+ messages in thread
From: Visuwesh @ 2023-04-20 16:06 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Robert Pluim, emacs-devel

[வியாழன் ஏப்ரல் 20, 2023] Eli Zaretskii wrote:

>> From: Robert Pluim <rpluim@gmail.com>
>> Date: Tue, 18 Apr 2023 16:15:41 +0200
>> 
>> emacs-29 adds `dired-do-eww' and `enriched-toggle-markup', but without
>> any bindings. We could put the first one on the prefix arg to 'f' in
>> dired-mode (ʼwʼ and 'W' are already taken)
>
> How about using 'W' with a prefix argument instead?

It would be pretty useful for those who set eww as the primary
browse-url browser.



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: emacs-29 additional key binding suggestions
  2023-04-20 16:06   ` Visuwesh
@ 2023-04-20 17:55     ` Robert Pluim
  2023-04-21  4:18       ` Visuwesh
  0 siblings, 1 reply; 20+ messages in thread
From: Robert Pluim @ 2023-04-20 17:55 UTC (permalink / raw)
  To: Visuwesh; +Cc: Eli Zaretskii, emacs-devel

>>>>> On Thu, 20 Apr 2023 21:36:23 +0530, Visuwesh <visuweshm@gmail.com> said:

    Visuwesh> [வியாழன் ஏப்ரல் 20, 2023] Eli Zaretskii wrote:
    >>> From: Robert Pluim <rpluim@gmail.com>
    >>> Date: Tue, 18 Apr 2023 16:15:41 +0200
    >>> 
    >>> emacs-29 adds `dired-do-eww' and `enriched-toggle-markup', but without
    >>> any bindings. We could put the first one on the prefix arg to 'f' in
    >>> dired-mode (ʼwʼ and 'W' are already taken)
    >> 
    >> How about using 'W' with a prefix argument instead?

    Visuwesh> It would be pretty useful for those who set eww as the primary
    Visuwesh> browse-url browser.

Doesnʼt that already work if you just customize
`browse-url-browser-function' to `eww-browse-url'?

Robert
-- 



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: emacs-29 additional key binding suggestions
  2023-04-20 17:55     ` Robert Pluim
@ 2023-04-21  4:18       ` Visuwesh
  2023-04-24  7:26         ` Robert Pluim
  0 siblings, 1 reply; 20+ messages in thread
From: Visuwesh @ 2023-04-21  4:18 UTC (permalink / raw)
  To: Robert Pluim; +Cc: Eli Zaretskii, emacs-devel

[வியாழன் ஏப்ரல் 20, 2023] Robert Pluim wrote:

>>>>>> On Thu, 20 Apr 2023 21:36:23 +0530, Visuwesh <visuweshm@gmail.com> said:
>
>     Visuwesh> [வியாழன் ஏப்ரல் 20, 2023] Eli Zaretskii wrote:
>     >>> From: Robert Pluim <rpluim@gmail.com>
>     >>> Date: Tue, 18 Apr 2023 16:15:41 +0200
>     >>> 
>     >>> emacs-29 adds `dired-do-eww' and `enriched-toggle-markup', but without
>     >>> any bindings. We could put the first one on the prefix arg to 'f' in
>     >>> dired-mode (ʼwʼ and 'W' are already taken)
>     >> 
>     >> How about using 'W' with a prefix argument instead?
>
>     Visuwesh> It would be pretty useful for those who set eww as the primary
>     Visuwesh> browse-url browser.
>
> Doesnʼt that already work if you just customize
> `browse-url-browser-function' to `eww-browse-url'?

I meant useless! i.e.,

    It would be pretty useless for those who set eww as the primary
                       ^^^^^^^^
    browse-url browser.

I guess sending a mail when half-asleep was a bad idea.

> Robert



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: emacs-29 additional key binding suggestions
  2023-04-21  4:18       ` Visuwesh
@ 2023-04-24  7:26         ` Robert Pluim
  2023-04-24 11:07           ` Eli Zaretskii
  0 siblings, 1 reply; 20+ messages in thread
From: Robert Pluim @ 2023-04-24  7:26 UTC (permalink / raw)
  To: Visuwesh; +Cc: Eli Zaretskii, emacs-devel

>>>>> On Fri, 21 Apr 2023 09:48:40 +0530, Visuwesh <visuweshm@gmail.com> said:

    >> >> How about using 'W' with a prefix argument instead?
    >> 
    Visuwesh> It would be pretty useful for those who set eww as the primary
    Visuwesh> browse-url browser.
    >> 
    >> Doesnʼt that already work if you just customize
    >> `browse-url-browser-function' to `eww-browse-url'?

    Visuwesh> I meant useless! i.e.,

    Visuwesh>     It would be pretty useless for those who set eww as the primary
    Visuwesh>                        ^^^^^^^^
    Visuwesh>     browse-url browser.

Actually, does that mean that 'W' should invoke
`browse-url-secondary-browser-function' when called with a prefix?

Robert
-- 



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: emacs-29 additional key binding suggestions
  2023-04-24  7:26         ` Robert Pluim
@ 2023-04-24 11:07           ` Eli Zaretskii
  2023-04-24 11:23             ` Robert Pluim
  0 siblings, 1 reply; 20+ messages in thread
From: Eli Zaretskii @ 2023-04-24 11:07 UTC (permalink / raw)
  To: Robert Pluim; +Cc: visuweshm, emacs-devel

> From: Robert Pluim <rpluim@gmail.com>
> Cc: Eli Zaretskii <eliz@gnu.org>,  emacs-devel@gnu.org
> Date: Mon, 24 Apr 2023 09:26:22 +0200
> 
> >>>>> On Fri, 21 Apr 2023 09:48:40 +0530, Visuwesh <visuweshm@gmail.com> said:
> 
>     >> >> How about using 'W' with a prefix argument instead?
>     >> 
>     Visuwesh> It would be pretty useful for those who set eww as the primary
>     Visuwesh> browse-url browser.
>     >> 
>     >> Doesnʼt that already work if you just customize
>     >> `browse-url-browser-function' to `eww-browse-url'?
> 
>     Visuwesh> I meant useless! i.e.,
> 
>     Visuwesh>     It would be pretty useless for those who set eww as the primary
>     Visuwesh>                        ^^^^^^^^
>     Visuwesh>     browse-url browser.
> 
> Actually, does that mean that 'W' should invoke
> `browse-url-secondary-browser-function' when called with a prefix?

Why?  Invoking any command, let alone with a prefix argument, is an
option, so if the user does invoke it, why should be second-guess what
the user had in mind?



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: emacs-29 additional key binding suggestions
  2023-04-24 11:07           ` Eli Zaretskii
@ 2023-04-24 11:23             ` Robert Pluim
  2023-04-24 12:06               ` Eli Zaretskii
  0 siblings, 1 reply; 20+ messages in thread
From: Robert Pluim @ 2023-04-24 11:23 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: visuweshm, emacs-devel

>>>>> On Mon, 24 Apr 2023 14:07:29 +0300, Eli Zaretskii <eliz@gnu.org> said:
    >> Actually, does that mean that 'W' should invoke
    >> `browse-url-secondary-browser-function' when called with a prefix?

    Eli> Why?  Invoking any command, let alone with a prefix argument, is an
    Eli> option, so if the user does invoke it, why should be second-guess what
    Eli> the user had in mind?

Iʼm showing my gnus prejudice here, but itʼs because thatʼs what 'w'
does in the summary buffer, and itʼs kind of neat to be able to choose
between two different browsers just with a prefix. It would allow
Visuwesh to easily keep his preferred 'show everything in EWW', but
allow using an external browser as well.

Robert
-- 



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: emacs-29 additional key binding suggestions
  2023-04-24 11:23             ` Robert Pluim
@ 2023-04-24 12:06               ` Eli Zaretskii
  2023-04-24 12:43                 ` Robert Pluim
  2023-04-24 13:27                 ` Visuwesh
  0 siblings, 2 replies; 20+ messages in thread
From: Eli Zaretskii @ 2023-04-24 12:06 UTC (permalink / raw)
  To: Robert Pluim; +Cc: visuweshm, emacs-devel

> From: Robert Pluim <rpluim@gmail.com>
> Cc: visuweshm@gmail.com,  emacs-devel@gnu.org
> Date: Mon, 24 Apr 2023 13:23:21 +0200
> 
> >>>>> On Mon, 24 Apr 2023 14:07:29 +0300, Eli Zaretskii <eliz@gnu.org> said:
>     >> Actually, does that mean that 'W' should invoke
>     >> `browse-url-secondary-browser-function' when called with a prefix?
> 
>     Eli> Why?  Invoking any command, let alone with a prefix argument, is an
>     Eli> option, so if the user does invoke it, why should be second-guess what
>     Eli> the user had in mind?
> 
> Iʼm showing my gnus prejudice here, but itʼs because thatʼs what 'w'
> does in the summary buffer, and itʼs kind of neat to be able to choose
> between two different browsers just with a prefix. It would allow
> Visuwesh to easily keep his preferred 'show everything in EWW', but
> allow using an external browser as well.

I don't mind, but beware the over-engineering.



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: emacs-29 additional key binding suggestions
  2023-04-24 12:06               ` Eli Zaretskii
@ 2023-04-24 12:43                 ` Robert Pluim
  2023-04-24 13:06                   ` Eli Zaretskii
  2023-04-24 13:27                 ` Visuwesh
  1 sibling, 1 reply; 20+ messages in thread
From: Robert Pluim @ 2023-04-24 12:43 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: visuweshm, emacs-devel

>>>>> On Mon, 24 Apr 2023 15:06:52 +0300, Eli Zaretskii <eliz@gnu.org> said:
    >> 
    >> Iʼm showing my gnus prejudice here, but itʼs because thatʼs what 'w'
    >> does in the summary buffer, and itʼs kind of neat to be able to choose
    >> between two different browsers just with a prefix. It would allow
    >> Visuwesh to easily keep his preferred 'show everything in EWW', but
    >> allow using an external browser as well.

    Eli> I don't mind, but beware the over-engineering.

`browse-url-secondary-browser-function' was not invented by me, Iʼm
just proposing to use it in more places.

Robert
-- 



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: emacs-29 additional key binding suggestions
  2023-04-24 12:43                 ` Robert Pluim
@ 2023-04-24 13:06                   ` Eli Zaretskii
  0 siblings, 0 replies; 20+ messages in thread
From: Eli Zaretskii @ 2023-04-24 13:06 UTC (permalink / raw)
  To: Robert Pluim; +Cc: visuweshm, emacs-devel

> From: Robert Pluim <rpluim@gmail.com>
> Cc: visuweshm@gmail.com,  emacs-devel@gnu.org
> Date: Mon, 24 Apr 2023 14:43:18 +0200
> 
> >>>>> On Mon, 24 Apr 2023 15:06:52 +0300, Eli Zaretskii <eliz@gnu.org> said:
>     >> 
>     >> Iʼm showing my gnus prejudice here, but itʼs because thatʼs what 'w'
>     >> does in the summary buffer, and itʼs kind of neat to be able to choose
>     >> between two different browsers just with a prefix. It would allow
>     >> Visuwesh to easily keep his preferred 'show everything in EWW', but
>     >> allow using an external browser as well.
> 
>     Eli> I don't mind, but beware the over-engineering.
> 
> `browse-url-secondary-browser-function' was not invented by me, Iʼm
> just proposing to use it in more places.

I know.  I meant the UI and the UX.



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: emacs-29 additional key binding suggestions
  2023-04-24 12:06               ` Eli Zaretskii
  2023-04-24 12:43                 ` Robert Pluim
@ 2023-04-24 13:27                 ` Visuwesh
  2023-04-25 15:19                   ` Robert Pluim
  1 sibling, 1 reply; 20+ messages in thread
From: Visuwesh @ 2023-04-24 13:27 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Robert Pluim, emacs-devel

[திங்கள் ஏப்ரல் 24, 2023] Eli Zaretskii wrote:

>> From: Robert Pluim <rpluim@gmail.com>
>> Cc: visuweshm@gmail.com,  emacs-devel@gnu.org
>> Date: Mon, 24 Apr 2023 13:23:21 +0200
>> 
>> >>>>> On Mon, 24 Apr 2023 14:07:29 +0300, Eli Zaretskii <eliz@gnu.org> said:
>>     >> Actually, does that mean that 'W' should invoke
>>     >> `browse-url-secondary-browser-function' when called with a prefix?

That's what I planned to do in my personal configuration after noticing
C-u W does not use the secondary browser.  ;-)

>>     Eli> Why?  Invoking any command, let alone with a prefix argument, is an
>>     Eli> option, so if the user does invoke it, why should be second-guess what
>>     Eli> the user had in mind?
>> 
>> Iʼm showing my gnus prejudice here, but itʼs because thatʼs what 'w'
>> does in the summary buffer, and itʼs kind of neat to be able to choose
>> between two different browsers just with a prefix. It would allow
>> Visuwesh to easily keep his preferred 'show everything in EWW', but
>> allow using an external browser as well.
>
> I don't mind, but beware the over-engineering.

AFAIK, C-u to mean to use the secondary browser is a fairly common
pattern.  See browse-url-button-open and browse-url-button-open-url as
well.



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: emacs-29 additional key binding suggestions
  2023-04-24 13:27                 ` Visuwesh
@ 2023-04-25 15:19                   ` Robert Pluim
  2023-04-25 15:23                     ` Eli Zaretskii
  0 siblings, 1 reply; 20+ messages in thread
From: Robert Pluim @ 2023-04-25 15:19 UTC (permalink / raw)
  To: Visuwesh; +Cc: Eli Zaretskii, emacs-devel

>>>>> On Mon, 24 Apr 2023 18:57:28 +0530, Visuwesh <visuweshm@gmail.com> said:

    Visuwesh> AFAIK, C-u to mean to use the secondary browser is a fairly common
    Visuwesh> pattern.  See browse-url-button-open and browse-url-button-open-url as
    Visuwesh> well.

This works for me.

commit 43f96d990a4
Author:     Robert Pluim <rpluim@gmail.com>
AuthorDate: Tue Apr 25 12:28:47 2023 +0200
Commit:     Robert Pluim <rpluim@gmail.com>
CommitDate: Tue Apr 25 17:17:36 2023 +0200

    Allow dired to invoke secondary browser
    
    'browse-url-of-dired-file' always invokes the primary browser, but
    sometimes it's handy to call a different browser, which is why
    'browse-url-secondary-browser-function' exists.
    
    * lisp/net/browse-url.el (browse-url-of-dired-file): Call
    'browse-url-secondary-browser-function' when invoked with a prefix
    argument.
    * etc/NEWS: Announce the change.

diff --git a/etc/NEWS b/etc/NEWS
index 80ff535dba6..bcca31edb0d 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1669,6 +1669,13 @@ the following to your Init file:
 *** New command 'dired-do-eww'.
 This command visits the file on the current line with EWW.
 
+---
+*** 'browse-url-of-dired-file' can now call the secondary browser.
+When invoked with a non-nil prefix arg, this will now call
+'browse-url-secondary-browser-function' instead of the default
+browser.  'browse-url-of-dired-file' is bound to 'W' by default in
+dired mode.
+
 ---
 *** New user option 'dired-omit-lines'.
 This is used by 'dired-omit-mode', and now allows you to hide based on
diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el
index 0177d12f236..39513b8f602 100644
--- a/lisp/net/browse-url.el
+++ b/lisp/net/browse-url.el
@@ -825,10 +825,17 @@ browse-url-delete-temp-file
 		  (&optional localp no-error-if-not-filep))
 
 ;;;###autoload
-(defun browse-url-of-dired-file ()
-  "In Dired, ask a WWW browser to display the file named on this line."
-  (interactive)
+(defun browse-url-of-dired-file (&optional secondary)
+  "In Dired, ask a WWW browser to display the file named on this line.
+With prefix arg, use the secondary browser instead (e.g. EWW if
+`browse-url-secondary-browser-function' is set to
+`eww-browse-url'."
+  (interactive "P")
   (let ((tem (dired-get-filename t t))
+        (browse-url-browser-function
+         (if secondary
+             browse-url-secondary-browser-function
+           browse-url-browser-function))
         ;; Some URL handlers open files in Emacs.  We want to always
         ;; open in a browser, so disable those.
         (browse-url-default-handlers nil))

Robert
-- 



^ permalink raw reply related	[flat|nested] 20+ messages in thread

* Re: emacs-29 additional key binding suggestions
  2023-04-25 15:19                   ` Robert Pluim
@ 2023-04-25 15:23                     ` Eli Zaretskii
  2023-04-25 15:27                       ` Robert Pluim
  0 siblings, 1 reply; 20+ messages in thread
From: Eli Zaretskii @ 2023-04-25 15:23 UTC (permalink / raw)
  To: Robert Pluim; +Cc: visuweshm, emacs-devel

> From: Robert Pluim <rpluim@gmail.com>
> Cc: Eli Zaretskii <eliz@gnu.org>,  emacs-devel@gnu.org
> Date: Tue, 25 Apr 2023 17:19:47 +0200
> 
> +*** 'browse-url-of-dired-file' can now call the secondary browser.
> +When invoked with a non-nil prefix arg, this will now call
> +'browse-url-secondary-browser-function' instead of the default

"Non-nil prefix arg"? what's that? is there a "nil prefix arg"?



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: emacs-29 additional key binding suggestions
  2023-04-25 15:23                     ` Eli Zaretskii
@ 2023-04-25 15:27                       ` Robert Pluim
  2023-05-29 12:54                         ` Robert Pluim
  0 siblings, 1 reply; 20+ messages in thread
From: Robert Pluim @ 2023-04-25 15:27 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: visuweshm, emacs-devel

>>>>> On Tue, 25 Apr 2023 18:23:28 +0300, Eli Zaretskii <eliz@gnu.org> said:

    >> From: Robert Pluim <rpluim@gmail.com>
    >> Cc: Eli Zaretskii <eliz@gnu.org>,  emacs-devel@gnu.org
    >> Date: Tue, 25 Apr 2023 17:19:47 +0200
    >> 
    >> +*** 'browse-url-of-dired-file' can now call the secondary browser.
    >> +When invoked with a non-nil prefix arg, this will now call
    >> +'browse-url-secondary-browser-function' instead of the default

    Eli> "Non-nil prefix arg"? what's that? is there a "nil prefix arg"?

Oops. Fixed

Robert
-- 



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: emacs-29 additional key binding suggestions
  2023-04-20 11:34     ` Eli Zaretskii
@ 2023-05-29 12:47       ` Robert Pluim
  0 siblings, 0 replies; 20+ messages in thread
From: Robert Pluim @ 2023-05-29 12:47 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

>>>>> On Thu, 20 Apr 2023 14:34:36 +0300, Eli Zaretskii <eliz@gnu.org> said:
    >> Sure, that works as well.

    Eli> If you want to do this, please go ahead, and thanks.

I forgot about this one. Now pushed to emacs-29 as a3063f0bc87

Robert
-- 



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: emacs-29 additional key binding suggestions
  2023-04-25 15:27                       ` Robert Pluim
@ 2023-05-29 12:54                         ` Robert Pluim
  0 siblings, 0 replies; 20+ messages in thread
From: Robert Pluim @ 2023-05-29 12:54 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: visuweshm, emacs-devel

>>>>> On Tue, 25 Apr 2023 17:27:21 +0200, Robert Pluim <rpluim@gmail.com> said:

>>>>> On Tue, 25 Apr 2023 18:23:28 +0300, Eli Zaretskii <eliz@gnu.org> said:
    >>> From: Robert Pluim <rpluim@gmail.com>
    >>> Cc: Eli Zaretskii <eliz@gnu.org>,  emacs-devel@gnu.org
    >>> Date: Tue, 25 Apr 2023 17:19:47 +0200
    >>> 
    >>> +*** 'browse-url-of-dired-file' can now call the secondary browser.
    >>> +When invoked with a non-nil prefix arg, this will now call
    >>> +'browse-url-secondary-browser-function' instead of the default

    Eli> "Non-nil prefix arg"? what's that? is there a "nil prefix arg"?

    Robert> Oops. Fixed

And now pushed as 08104c01504

Robert
-- 



^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2023-05-29 12:54 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-18 14:15 emacs-29 additional key binding suggestions Robert Pluim
2023-04-18 15:20 ` [External] : " Drew Adams
2023-04-20  8:21 ` Eli Zaretskii
2023-04-20  9:41   ` Robert Pluim
2023-04-20 11:34     ` Eli Zaretskii
2023-05-29 12:47       ` Robert Pluim
2023-04-20 16:06   ` Visuwesh
2023-04-20 17:55     ` Robert Pluim
2023-04-21  4:18       ` Visuwesh
2023-04-24  7:26         ` Robert Pluim
2023-04-24 11:07           ` Eli Zaretskii
2023-04-24 11:23             ` Robert Pluim
2023-04-24 12:06               ` Eli Zaretskii
2023-04-24 12:43                 ` Robert Pluim
2023-04-24 13:06                   ` Eli Zaretskii
2023-04-24 13:27                 ` Visuwesh
2023-04-25 15:19                   ` Robert Pluim
2023-04-25 15:23                     ` Eli Zaretskii
2023-04-25 15:27                       ` Robert Pluim
2023-05-29 12:54                         ` Robert Pluim

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).