emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Juan Manuel Macías" <maciaschain@posteo.net>
To: Bruno Barbier <brubar.cs@gmail.com>
Cc: orgmode <emacs-orgmode@gnu.org>
Subject: Re: Keybinding doubt about ARG
Date: Sun, 19 Jun 2022 17:21:30 +0000	[thread overview]
Message-ID: <87y1xstvqd.fsf@posteo.net> (raw)
In-Reply-To: <E1o2y5h-0000lC-0N@lists.gnu.org> (Bruno Barbier's message of "Sun, 19 Jun 2022 18:49:14 +0200")

Bruno Barbier writes:

> But, you can easily define your own command.
>     (defun my-scroll-up-of-1 ()
>       (interactive)
>       (scroll-up-command 1))
>     (define-key global-map (kbd "M-n") 'my-scroll-up-of-1)

Or simply doing something like:

(define-key global-map (kbd "M-n") (lambda ()
                                     (scroll-up-command 1)))

Best regards,

Juan Manuel

  reply	other threads:[~2022-06-19 17:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-19 15:50 Keybinding doubt about ARG Ypo
2022-06-19 16:49 ` Bruno Barbier
2022-06-19 17:21   ` Juan Manuel Macías [this message]
     [not found] ` <62af533d.1c69fb81.96299.c52dSMTPIN_ADDED_MISSING@mx.google.com>
2022-06-19 16:56   ` Ypo
2022-06-19 17:24     ` Bruno Barbier

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:

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=87y1xstvqd.fsf@posteo.net \
    --to=maciaschain@posteo.net \
    --cc=brubar.cs@gmail.com \
    --cc=emacs-orgmode@gnu.org \


* 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 public inbox


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).