all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Narendra Joshi <narendraj9@gmail.com>
To: Udyant Wig <udyant.wig@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Changing the factor used in universal arugment
Date: Sun, 25 Jun 2017 10:58:40 +0530	[thread overview]
Message-ID: <87lgogtz3r.fsf@vicarie> (raw)
In-Reply-To: <02fcac74-058e-90c7-4868-3472e604b558@gmail.com> (Udyant Wig's message of "Sat, 24 Jun 2017 23:12:34 +0530")

Udyant Wig <udyant.wig@gmail.com> writes:

> On 06/24/2017 08:36 PM, Narendra Joshi wrote:
>> Hi,
>> 
>> How can I change the factor by which universal argument changes on
>> repetition from 4 to say 2? For say having more granularity there.
>> 
>> Best, 
>
> What precisely do you have in mind?  What do you want to achieve?  If
> the default value of C-u, which is 4, is too blunt an instrument for
> your purpose, have you tried the arbitrary numeric prefixes, say, C-3 or
> M-5, just to specify two?
I was trying to achieve the following:

I changed `prefix-command-preserve-state-hook' to momentarily enable
`linum-relative-mode` on C-u, this would help me guess how many times I
need to repeatedly press C-u get to a specific line. With a
multiplicative factor of 4, I found it hard to get to every line
easily.

I think I should just use something else for my use case. Maybe
`avy-goto-line`. 

Best,
-- 
Narendra Joshi



  parent reply	other threads:[~2017-06-25  5:28 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-24 15:06 Changing the factor used in universal arugment Narendra Joshi
2017-06-24 16:22 ` John Ankarström
2017-06-24 18:39   ` Emanuel Berg
2017-06-24 16:26 ` Kaushal Modi
2017-06-24 18:47   ` Emanuel Berg
2017-06-24 17:42 ` Udyant Wig
2017-06-24 23:56   ` John Ankarström
2017-06-25 14:37     ` Emanuel Berg
2017-06-25 17:41       ` John Ankarström
2017-06-25 18:01         ` Emanuel Berg
2017-06-25 20:08           ` Stefan Monnier
2017-06-25 20:29             ` Emanuel Berg
2017-06-25  5:28   ` Narendra Joshi [this message]
2017-06-24 17:49 ` Emanuel Berg

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=87lgogtz3r.fsf@vicarie \
    --to=narendraj9@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=udyant.wig@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.