all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Tim Landscheidt <tim@tim-landscheidt.de>
Cc: 66386@debbugs.gnu.org
Subject: bug#66386: 28.2; RFE: Provide global key bindings for increasing/decreasing numbers at point
Date: Sat, 07 Oct 2023 14:03:55 +0300	[thread overview]
Message-ID: <8334ym1yp0.fsf@gnu.org> (raw)
In-Reply-To: <87zg0un1i9.fsf@vagabond.tim-landscheidt.de> (message from Tim Landscheidt on Sat, 07 Oct 2023 10:57:34 +0000)

> From: Tim Landscheidt <tim@tim-landscheidt.de>
> Date: Sat, 07 Oct 2023 10:57:34 +0000
> 
> Package: emacs
> Version: 28.2
> Severity: wishlist
> 
> When entering a number with read-number or skeleton-read or
> just editing text, it can be very useful to increase/de-
> crease the number at point.  For Org, Emacs ships the func-
> tions org-increase-number-at-point and
> org-decrease-number-at-point for this purpose and binds them
> to C-M-S-<right> and C-M-S-<left>, respectively, in
> org-mode-map.
> 
> It would be nice if these functions or some variant could be
> bound to global key bindings that are active by default in
> all modes.

These are trivial functions that everyone who needs them can easily
code, and bind to any keys they want.  For example, I'd prefer to bind
them to S-<kp-add> and S-<kp-subtract> instead.  Is it really
justified to have these in Emacs by default, let alone usurp some
global key bindings for them?  Why not keep them available only in
modes where they are really needed?





  reply	other threads:[~2023-10-07 11:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-07 10:57 bug#66386: 28.2; RFE: Provide global key bindings for increasing/decreasing numbers at point Tim Landscheidt
2023-10-07 11:03 ` Eli Zaretskii [this message]
2023-10-07 14:28   ` Tim Landscheidt

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=8334ym1yp0.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=66386@debbugs.gnu.org \
    --cc=tim@tim-landscheidt.de \
    /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.