From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.devel Subject: Re: Customizing universal-argument (C-u), instead of hardcoding 4? Date: Sun, 07 Feb 2016 17:36:24 -0500 Message-ID: References: <8737t4i2fg.fsf@red-bean.com> Reply-To: John Wiegley NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1454884620 9264 80.91.229.3 (7 Feb 2016 22:37:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Feb 2016 22:37:00 +0000 (UTC) Cc: Emacs Devel To: Karl Fogel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 07 23:36:49 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aSXwn-0005UG-H8 for ged-emacs-devel@m.gmane.org; Sun, 07 Feb 2016 23:36:49 +0100 Original-Received: from localhost ([::1]:38831 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSXwm-0006FN-TK for ged-emacs-devel@m.gmane.org; Sun, 07 Feb 2016 17:36:48 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48705) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSXwj-0006EY-Do for emacs-devel@gnu.org; Sun, 07 Feb 2016 17:36:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSXwf-00034b-AB for emacs-devel@gnu.org; Sun, 07 Feb 2016 17:36:45 -0500 Original-Received: from mail-ig0-x22d.google.com ([2607:f8b0:4001:c05::22d]:35229) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSXwf-00034X-5L for emacs-devel@gnu.org; Sun, 07 Feb 2016 17:36:41 -0500 Original-Received: by mail-ig0-x22d.google.com with SMTP id hb3so45389188igb.0 for ; Sun, 07 Feb 2016 14:36:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:reply-to:mail-followup-to:mime-version:content-type; bh=X0mfzo0xBFhHLrahxUyEVduefkyAdaS+4ZEDjSL4NRU=; b=h1NbEYECqdbEOTNSX6I3KC0NI49CraYN47iEOBhe2W3WVzR6oKQDjgsI3oP0dPVnX1 rKmb1fQJD9oscO71GDVkOkk5z0LF6jbiXCxIexTRvXrcSwn02Xupt9ZMew5MLsBvsXLI W3e9gHOchqikuNfPRbmpCosZ4n3nlUqGaWwOgcMHUMP7Ad1LJ4myeDMaxHs61N+hYEdD 0kseeeKee+3ixSO4D3g/r7bmjYRueXuxeWW81M+VOUqXJgoFqtleZjW+s+3KYQIprb4a 3P9YSaX5XDj9oZBH6RcGUuWSEOP+3lMKInra806iEX/JD9dYRmhnMZ9WpO6AvCSYYXwz GajA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:in-reply-to:date:message-id :references:user-agent:reply-to:mail-followup-to:mime-version :content-type; bh=X0mfzo0xBFhHLrahxUyEVduefkyAdaS+4ZEDjSL4NRU=; b=BbJkcBPzb/2Am7bWrmPSr3Q5K/bopIq5FuXZNVZBQx2s1COw2ZIg+bOIb+lO5cwjDy sLGcHe9CvWponcG+Qd4EEBKMnCbQU1HzWDqoLXVcb9T86op5o84s7GGmWUyQYOhKXts+ rLqCPAXEQiiyVUnh4bpWco1LCNvTfe3Px4DbrlMv9jADQKpM2YsdPGxs37/3cd00h5dC 6z57dvtPtyQ03cAHtxnyufjckmKeYqC3FogOyqYgg2z6bnhU2bHq+QWfA1LQoUHuV1W8 6PIcAcZn+ueiPIisamo17+vDBCWPeYQrBgyyaMAPb1v5SFuM5qN8tkIz7ixmg43vlcMg TWGw== X-Gm-Message-State: AG10YOSSRdMiSz4PTwSs8rgTzqXEOM6yCP6xg2GgrX9A4p/Vb5x7oY3MlNj9gzB/KKA8XA== X-Received: by 10.50.159.7 with SMTP id wy7mr25954506igb.24.1454884600518; Sun, 07 Feb 2016 14:36:40 -0800 (PST) Original-Received: from Hermes.local (mail.johnwiegley.com. [208.82.103.192]) by smtp.gmail.com with ESMTPSA id je6sm4074566igb.18.2016.02.07.14.36.39 (version=TLS1 cipher=AES128-SHA bits=128/128); Sun, 07 Feb 2016 14:36:39 -0800 (PST) X-Google-Original-From: "John Wiegley" Original-Received: by Hermes.local (Postfix, from userid 501) id 43A2E4DD6156; Sun, 7 Feb 2016 17:36:27 -0500 (EST) In-Reply-To: <8737t4i2fg.fsf@red-bean.com> (Karl Fogel's message of "Sun, 07 Feb 2016 16:24:51 -0600") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (darwin) Mail-Followup-To: Karl Fogel , Emacs Devel X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4001:c05::22d X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:199470 Archived-At: >>>>> Karl Fogel writes: > It's set in simple.el, and there are various places in the code that expect > it to be 4 as well. I haven't looked deeply into how hard it would be to > change, because I first wanted to ask here if a) this has been considered, > and b) if anyone would be opposed to customizability & if so why. But here's > what I found in a quick look at the code: I'll leave it to others to answer (a). As for (b), I am opposed to the change. There is too much expectation right now that it has the value 4, including code that does not live in the Emacs or GNU ELPA repositories. If your main reason is to make C-u movement customizable, how about rebinding C-u to "my-universal-argument"? -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2