From unknown Sat Aug 16 19:20:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25454: 25.1; improvement ftoopy-from-above-command Resent-From: Francesco =?UTF-8?Q?Potort=C3=AC?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Jan 2017 20:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 25454 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 25454@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.14845104526095 (code B ref -1); Sun, 15 Jan 2017 20:01:01 +0000 Received: (at submit) by debbugs.gnu.org; 15 Jan 2017 20:00:52 +0000 Received: from localhost ([127.0.0.1]:55028 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cSqyy-0001aE-0Y for submit@debbugs.gnu.org; Sun, 15 Jan 2017 15:00:52 -0500 Received: from eggs.gnu.org ([208.118.235.92]:33509) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cSqyv-0001Zz-Mo for submit@debbugs.gnu.org; Sun, 15 Jan 2017 15:00:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cSqyo-0002gi-Kc for submit@debbugs.gnu.org; Sun, 15 Jan 2017 15:00:44 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38414) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cSqyo-0002ge-Ho for submit@debbugs.gnu.org; Sun, 15 Jan 2017 15:00:42 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52697) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cSqym-0001aN-94 for bug-gnu-emacs@gnu.org; Sun, 15 Jan 2017 15:00:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cSqyi-0002g1-RL for bug-gnu-emacs@gnu.org; Sun, 15 Jan 2017 15:00:40 -0500 Received: from blade3.isti.cnr.it ([194.119.192.19]:47123) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cSqyi-0002fr-7M for bug-gnu-emacs@gnu.org; Sun, 15 Jan 2017 15:00:36 -0500 Received: from tucano.isti.cnr.it ([146.48.81.102]) by mx.isti.cnr.it (PMDF V6.5-x6 #1251) with ESMTPSA id <01Q9Q6PHA1USDFBFYZ@mx.isti.cnr.it> for bug-gnu-emacs@gnu.org; Sun, 15 Jan 2017 21:00:31 +0100 (MET) Received: from pot by tucano.isti.cnr.it with local (Exim 4.88) (envelope-from ) id 1cSqyd-0002ZH-2s for bug-gnu-emacs@gnu.org; Sun, 15 Jan 2017 21:00:31 +0100 Date: Sun, 15 Jan 2017 21:00:30 +0100 From: Francesco =?UTF-8?Q?Potort=C3=AC?= Message-id: Organization: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: QUOTED-PRINTABLE X-INSM-ip-source: 146.48.81.102 Auth Done X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -8.2 (--------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -8.2 (--------) This is the version I use: it copies line from above as the stock one, but when called repeatedl= y it copies from further above lines. Moreover, when called with a numeric argument, increments all the numbers fund in the copied text = by the argument. ;; Modified from misc.el distributed with 19.30 ;; by "Francesco Potort=C3=AC " (defvar my-copy-from-above-lines -1) (defvar my-copy-from-above-chars 0) (defvar my-copy-from-above-inc 0) (defun my-copy-from-above-command (&optional arg) "Copy the previous line incrementing numbers, starting just above p= oint. All integer numbers fetched as part of the line are incremented by AR= G. If no argument is given, numbers are left as they are. Successive invocations of this command fetch successively previous li= nes. The characters copied are inserted in the buffer before point, mark i= s set to the beginning of the inserted string." (interactive "P") (if (eq last-command 'copy-from-above-command) (progn =09(delete-char (- copy-from-above-chars)) =09(setq copy-from-above-lines (1- copy-from-above-lines))) (push-mark) (setq copy-from-above-lines -1) (setq copy-from-above-inc (if arg (prefix-numeric-value arg) 0))) (let ((cc (current-column)) =09(string "")) (save-excursion (forward-line copy-from-above-lines) (move-to-column cc) ;; If current column winds up in middle of a tab, ;; copy appropriate number of "virtual" space chars. (if (< cc (current-column)) =09 (if (=3D (preceding-char) ?\t) =09 (setq string (make-string (- (current-column) cc) ?\ )) =09 ;; In middle of ctl char =3D> copy that whole char. =09 (backward-char 1))) (setq string (concat string =09=09=09 (buffer-substring (point) =09=09=09=09=09 (save-excursion =09=09=09=09=09 (end-of-line) (point)))))) (let ((index 0) =09 (oldstr "") =09 (newstr "")) (while (string-match "[0-9]+" string index) =09(setq oldstr (match-string 0 string)) =09(setq newstr =09 (format =09 (concat "%0" (int-to-string (length oldstr)) "d") =09 (+ copy-from-above-inc (string-to-number oldstr)))) =09(setq index (+ (match-beginning 0) (length newstr))) =09(setq string (replace-match newstr nil nil string)))) (setq copy-from-above-chars (length string)) (insert string))) (global-set-key "\M-p" 'my-copy-from-above-command) In GNU Emacs 25.1.1 (x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bar= s) of 2016-10-24, modified by Debian built on trouble Windowing system distributor 'The X.Org Foundation', version 11.0.119= 00000 System Description:=09Debian GNU/Linux testing (stretch) Configured using: 'configure --build x86_64-linux-gnu --prefix=3D/usr --sharedstatedir=3D/var/lib --libexecdir=3D/usr/lib --localstatedir=3D/var/lib --infodir=3D/usr/share/info --mandir=3D/usr/share/man --with-pop=3Dyes --enable-locallisppath=3D/etc/emacs25:/etc/emacs:/usr/local/share/em= acs/25.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/= 25.1/site-lisp:/usr/share/emacs/site-lisp --with-sound=3Dalsa --build x86_64-linux-gnu --prefix=3D/usr --sharedstatedir=3D/var/lib --libexecdir=3D/usr/lib --localstatedir=3D/var/lib --infodir=3D/usr/share/info --mandir=3D/usr/share/man --with-pop=3Dyes --enable-locallisppath=3D/etc/emacs25:/etc/emacs:/usr/local/share/em= acs/25.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/= 25.1/site-lisp:/usr/share/emacs/site-lisp --with-sound=3Dalsa --with-x=3Dyes --with-x-toolkit=3Dlucid --with-toolkit-scroll-bars --without-gconf --without-gsettings 'CFLAGS=3D-g -O2 -fdebug-prefix-map=3D/build/emacs25-25.1+1=3D. -fstack-protector-str= ong -Wformat -Werror=3Dformat-security -Wall' 'CPPFLAGS=3D-Wdate-time -D_FORTIFY_SOURCE=3D2' LDFLAGS=3D-Wl,-z,relro' Configured features: XAW3D XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS NOTIFY AC= L LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS LUCID X11 Important settings: value of $LC_COLLATE: it_IT.UTF-8 value of $LC_CTYPE: it_IT.UTF-8 value of $LC_NUMERIC: C value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Text Minor modes in effect: filladapt-mode: t global-visual-fill-column-mode: t diff-auto-refine-mode: t TeX-PDF-mode: t desktop-save-mode: t epa-global-mail-mode: t shell-dirtrack-mode: t openwith-mode: t xterm-mouse-mode: t display-time-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t auto-fill-function: do-auto-fill Recent messages: No following nondeleted message Expunging deleted messages...done Computing summary lines...done Showing message 897... Saving file /home/pot/Mail/RMAIL... Wrote /home/pot/Mail/RMAIL [2 times] Showing message 1363...done (No new mail has arrived) 0 new messages read Showing message 1363...done Load-path shadows: ~/elisp/bhl hides /usr/share/emacs/site-lisp/bhl /usr/share/emacs25/site-lisp/flim/md4 hides /usr/share/emacs/25.1/lis= p/md4 /usr/share/emacs25/site-lisp/flim/hex-util hides /usr/share/emacs/25.= 1/lisp/hex-util /usr/share/emacs/site-lisp/rst hides /usr/share/emacs/25.1/lisp/textm= odes/rst ~/elisp/bibtex hides /usr/share/emacs/25.1/lisp/textmodes/bibtex /usr/share/emacs25/site-lisp/flim/ntlm hides /usr/share/emacs/25.1/li= sp/net/ntlm /usr/share/emacs25/site-lisp/flim/hmac-md5 hides /usr/share/emacs/25.= 1/lisp/net/hmac-md5 /usr/share/emacs25/site-lisp/flim/sasl-ntlm hides /usr/share/emacs/25= .1/lisp/net/sasl-ntlm /usr/share/emacs25/site-lisp/flim/sasl-digest hides /usr/share/emacs/= 25.1/lisp/net/sasl-digest /usr/share/emacs25/site-lisp/flim/sasl hides /usr/share/emacs/25.1/li= sp/net/sasl /usr/share/emacs25/site-lisp/flim/sasl-cram hides /usr/share/emacs/25= .1/lisp/net/sasl-cram /usr/share/emacs25/site-lisp/flim/hmac-def hides /usr/share/emacs/25.= 1/lisp/net/hmac-def /usr/share/emacs25/site-lisp/auctex/tex-fold hides /usr/share/emacs/s= ite-lisp/auctex/tex-fold /usr/share/emacs25/site-lisp/auctex/context-en hides /usr/share/emacs= /site-lisp/auctex/context-en /usr/share/emacs25/site-lisp/auctex/tex-info hides /usr/share/emacs/s= ite-lisp/auctex/tex-info /usr/share/emacs25/site-lisp/auctex/plain-tex hides /usr/share/emacs/= site-lisp/auctex/plain-tex /usr/share/emacs25/site-lisp/auctex/tex-mik hides /usr/share/emacs/si= te-lisp/auctex/tex-mik /usr/share/emacs25/site-lisp/auctex/texmathp hides /usr/share/emacs/s= ite-lisp/auctex/texmathp /usr/share/emacs25/site-lisp/auctex/context-nl hides /usr/share/emacs= /site-lisp/auctex/context-nl /usr/share/emacs25/site-lisp/auctex/toolbar-x hides /usr/share/emacs/= site-lisp/auctex/toolbar-x /usr/share/emacs25/site-lisp/auctex/tex hides /usr/share/emacs/site-l= isp/auctex/tex /usr/share/emacs25/site-lisp/auctex/tex-jp hides /usr/share/emacs/sit= e-lisp/auctex/tex-jp /usr/share/emacs25/site-lisp/auctex/bib-cite hides /usr/share/emacs/s= ite-lisp/auctex/bib-cite /usr/share/emacs25/site-lisp/auctex/multi-prompt hides /usr/share/ema= cs/site-lisp/auctex/multi-prompt /usr/share/emacs25/site-lisp/auctex/font-latex hides /usr/share/emacs= /site-lisp/auctex/font-latex /usr/share/emacs25/site-lisp/auctex/prv-emacs hides /usr/share/emacs/= site-lisp/auctex/prv-emacs /usr/share/emacs25/site-lisp/auctex/tex-style hides /usr/share/emacs/= site-lisp/auctex/tex-style /usr/share/emacs25/site-lisp/auctex/context hides /usr/share/emacs/si= te-lisp/auctex/context /usr/share/emacs25/site-lisp/auctex/preview hides /usr/share/emacs/si= te-lisp/auctex/preview /usr/share/emacs25/site-lisp/auctex/tex-font hides /usr/share/emacs/s= ite-lisp/auctex/tex-font /usr/share/emacs25/site-lisp/auctex/tex-bar hides /usr/share/emacs/si= te-lisp/auctex/tex-bar /usr/share/emacs25/site-lisp/auctex/latex hides /usr/share/emacs/site= -lisp/auctex/latex /usr/share/emacs25/site-lisp/auctex/tex-buf hides /usr/share/emacs/si= te-lisp/auctex/tex-buf ~/elisp/bhl hides /usr/share/emacs25/site-lisp/bhl /usr/share/emacs/site-lisp/debian-startup hides /usr/share/emacs25/si= te-lisp/debian-startup Features: (find-dired loadhist novice wdired animate misc ruler-mode cal-x debu= g two-column iso-transl apropos pcmpl-gnu pcmpl-linux macros python tramp-sh tar-mode anything-config anything woman mailcap undigest cal-move smerge-mode diff doc-view vc-cvs pcmpl-unix json-mode rx cus-edit wid-edit cus-start cus-load rmailedit tabify man vc-dir ewoc tramp-cache shadow emacsbug reporter debian-bug mail-extr texmathp nxml-uchnm rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml= -ns nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok tm= m ido etags xref project ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init ediff-util ediff js json map imenu ispell log-v= iew pp visual-fill-column locate dired-aux eieio-opt speedbar sb-image ezimage dframe find-func timezone rmailsort face-remap url-handlers n= ero cl rect log-edit pcvs-util add-log grep dabbrev diff-mode vc rmailkwd mailalias rmailout shr-color color time-stamp misearch multi-isearch server parse-time unrmail qp url-util shr dom subr-x browse-url jka-compr cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-ali= gn cc-engine cc-vars cc-defs bibtex info sh-script executable sgml-mode vc-filewise vc-rcs image-mode view conf-mode generic octave smie latexenc plain-tex vc-dispatcher vc-svn preview prv-emacs tex-bar tex-buf toolbar-x noutline outline font-latex latex easy-mmode edmacr= o kmacro tex-style tex dbus xml crm tex-mode compile rmailmm message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader mail-parse rfc2231 desktop frameset term/xterm xterm pot skeleton rmailsum rmail warnings sendmail rfc2047 rfc2045 ietf-drums mime-compose epa-mail mail-utils epa derived epg cal-china lunar sola= r cal-dst cal-bahai cal-islam cal-hebrew holidays hol-loaddefs vc-hg ap= pt diary-lib diary-loaddefs cal-menu calendar cal-loaddefs tramp tramp-compat tramp-loaddefs trampver ucs-normalize shell pcomplete comint ring format-spec bhl switch-to-shell openwith hi-lock xt-mouse ffap thingatpt url-parse auth-source cl-seq eieio eieio-core cl-macs gnus-util time-date mm-util help-fns mail-prsvr password-cache url-va= rs scroll-in-place filladapt ansi-color advice time quail dired-x dired generic-x disp-table finder-inf package epg-config seq byte-opt gv bytecomp byte-compile cl-extra help-mode easymenu cconv cl-loaddefs pcase cl-lib debian-el debian-el-loaddefs w3m-load vm-autoload vm-autoloads vm-version vm-vars vm-init preview-latex tex-site auto-loads mule-util tooltip eldoc electric uniquify ediff-hook vc-ho= oks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fonts= et image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mod= e prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic c= ham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-h= ook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting font-render-setting x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 1167121 238907) (symbols 48 60626 41) (miscs 40 7205 6060) (strings 32 175459 30474) (string-bytes 1 5173380) (vectors 16 86824) (vector-slots 8 2196884 87712) (floats 8 1410 1185) (intervals 56 165132 8825) (buffers 976 242)) From unknown Sat Aug 16 19:20:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25454: 25.1; improvement ftoopy-from-above-command Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Jul 2019 10:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25454 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Francesco =?UTF-8?Q?Potort=C3=AC?= Cc: 25454@debbugs.gnu.org Received: via spool by 25454-submit@debbugs.gnu.org id=B25454.156422375324661 (code B ref 25454); Sat, 27 Jul 2019 10:36:01 +0000 Received: (at 25454) by debbugs.gnu.org; 27 Jul 2019 10:35:53 +0000 Received: from localhost ([127.0.0.1]:43641 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrK3N-0006Pf-D2 for submit@debbugs.gnu.org; Sat, 27 Jul 2019 06:35:53 -0400 Received: from quimby.gnus.org ([80.91.231.51]:35844) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrK3L-0006PU-2I for 25454@debbugs.gnu.org; Sat, 27 Jul 2019 06:35:51 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hrK3H-0006GW-FT; Sat, 27 Jul 2019 12:35:49 +0200 From: Lars Ingebrigtsen References: Date: Sat, 27 Jul 2019 12:35:47 +0200 In-Reply-To: ("Francesco \=\?utf-8\?Q\?Potort\=C3\=AC\=22's\?\= message of "Sun, 15 Jan 2017 21:00:30 +0100") Message-ID: <871ryblq7w.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Francesco =?UTF-8?Q?Potort=C3=AC?= writes: > This is the version I use: > > it copies line from above as the stock one, but when called repeatedly > it copies from further above lines. Moreover, when called with a > numeric argument, increment [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Francesco Potort=C3=AC writes: > This is the version I use: > > it copies line from above as the stock one, but when called repeatedly > it copies from further above lines. Moreover, when called with a > numeric argument, increments all the numbers fund in the copied text by > the argument. This seems pretty useful, but it's an incompatible change, since ARG is currently: Copy ARG characters, but not past the end of that line. So I don't think this would be a candidate for inclusion in Emacs, but perhaps it could be rewritten and made into a M/ELPA package? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 27 06:35:56 2019 Received: (at control) by debbugs.gnu.org; 27 Jul 2019 10:35:57 +0000 Received: from localhost ([127.0.0.1]:43644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrK3Q-0006Pz-Py for submit@debbugs.gnu.org; Sat, 27 Jul 2019 06:35:56 -0400 Received: from quimby.gnus.org ([80.91.231.51]:35858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrK3P-0006Pr-M4 for control@debbugs.gnu.org; Sat, 27 Jul 2019 06:35:55 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hrK3M-0006Gd-SV for control@debbugs.gnu.org; Sat, 27 Jul 2019 12:35:54 +0200 Date: Sat, 27 Jul 2019 12:35:52 +0200 Message-Id: <87zhkzkbnb.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #25454 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 25454 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 25454 quit From unknown Sat Aug 16 19:20:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25454: 25.1; improvement ftoopy-from-above-command Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Jul 2019 11:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25454 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: Francesco =?UTF-8?Q?Potort=C3=AC?= , 25454@debbugs.gnu.org Received: via spool by 25454-submit@debbugs.gnu.org id=B25454.156422699714291 (code B ref 25454); Sat, 27 Jul 2019 11:30:03 +0000 Received: (at 25454) by debbugs.gnu.org; 27 Jul 2019 11:29:57 +0000 Received: from localhost ([127.0.0.1]:43737 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrKth-0003iR-Kr for submit@debbugs.gnu.org; Sat, 27 Jul 2019 07:29:57 -0400 Received: from mail-io1-f53.google.com ([209.85.166.53]:42713) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrKtf-0003iE-Q7 for 25454@debbugs.gnu.org; Sat, 27 Jul 2019 07:29:56 -0400 Received: by mail-io1-f53.google.com with SMTP id e20so79791867iob.9 for <25454@debbugs.gnu.org>; Sat, 27 Jul 2019 04:29:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=E+6gHV2VO7l/YPxH/UZQEIDnMrAfQ2+TQLNCo/xY9gc=; b=ccdwXkrrGmr/WQilDiIyI5AiuKDVhqtIpBlcwVlczsTEFrF5+lWk7dRxGdfdbWS1WA oqRFap0oMPPagOTf1QiRh6BTb3I/4vsrBe5Bus85Vk4Bp859roC895rdYZthysLzz0xK X5nVSX5od8dvEMOTajzkT+FHvLaQ3G+zM+NuQpmNMq8CE+Cb2YrcGaVOAho7Mg2/35tp +Ubym0uL5JqHuk5uwx0gFaRyP3CgadWp4F784fs8MJ/gbRMBede6FcfYSI9V99gVFMR8 vfcO+cehV60LCyIWSWLwGACSkrnImDtwa+jP/otRG03Yf03P4o6TqGagXDw1pSFTS+W3 xCEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=E+6gHV2VO7l/YPxH/UZQEIDnMrAfQ2+TQLNCo/xY9gc=; b=YYt49ZgtM8SfligIydTCJRLmnfdFpY8fbOsdjmo5izSQ7m4qc/rEcqZE3mhV3QO/gJ l2HEdHBOYTJNLQM/m3nmIixYqXTal+K/TMeKY56+dNAzLzyoQAevQwxbR42NXqUZri4Q gjAat425B0gEMFELgjJkSlOS1rpHk4ThBJCp9kVFSY6Mp7T1YFnVno9AtLXVFLvUknBc 2/yzL3Kn3rv2aRbNVidZiVKGRSN9XNL06xw17mOq7xr72f6R287MX8791fBa8VaGIFID 9b0acIOIF/lOWLrMlHKnN+CqvnPXAj320fNgIYfSls2gJv18GKTzrtuZ7maXDCGYH36I M6mQ== X-Gm-Message-State: APjAAAUfkvHsUJZO7VwmogWJ0eCOhyripeBvvjNlxxEfyN0lxrZq0n66 Bvdv4GK4s20AerIP4NoF02NmnXb7 X-Google-Smtp-Source: APXvYqxQ3QvomB37jnQW6w/Xpf/1nkLvHZjDmowpbI27U2Gf5KyxeC7ycFSotagm579gg33c/bHRbQ== X-Received: by 2002:a02:bb05:: with SMTP id y5mr98898068jan.93.1564226989834; Sat, 27 Jul 2019 04:29:49 -0700 (PDT) Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.gmail.com with ESMTPSA id v13sm45569081ioq.13.2019.07.27.04.29.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 27 Jul 2019 04:29:49 -0700 (PDT) From: Noam Postavsky References: <871ryblq7w.fsf@mouse.gnus.org> Date: Sat, 27 Jul 2019 07:29:48 -0400 In-Reply-To: <871ryblq7w.fsf@mouse.gnus.org> (Lars Ingebrigtsen's message of "Sat, 27 Jul 2019 12:35:47 +0200") Message-ID: <87imrnvhoz.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Lars Ingebrigtsen writes: > Francesco Potort=C3=AC writes: > >> This is the version I use: >> >> it copies line from above as the stock one, but when called repeatedly >> it copies from further above lines. Moreover, when called with a >> numeric argument, increments all the numbers fund in the copied text by >> the argument. > > This seems pretty useful, but it's an incompatible change, since ARG is > currently: > > Copy ARG characters, but not past the end of that line. > > So I don't think this would be a candidate for inclusion in Emacs, but > perhaps it could be rewritten and made into a M/ELPA package? Seems a bit small for a separate package. And the repeated call thing could be useful in itself. Couldn't the increment behaviour be enabled by a non-numeric argument instead? From unknown Sat Aug 16 19:20:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25454: 25.1; improvement ftoopy-from-above-command Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Jul 2019 11:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25454 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Noam Postavsky Cc: Francesco =?UTF-8?Q?Potort=C3=AC?= , 25454@debbugs.gnu.org Received: via spool by 25454-submit@debbugs.gnu.org id=B25454.156422714622307 (code B ref 25454); Sat, 27 Jul 2019 11:33:02 +0000 Received: (at 25454) by debbugs.gnu.org; 27 Jul 2019 11:32:26 +0000 Received: from localhost ([127.0.0.1]:43745 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrKw6-0005nZ-3v for submit@debbugs.gnu.org; Sat, 27 Jul 2019 07:32:26 -0400 Received: from quimby.gnus.org ([80.91.231.51]:36642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrKw4-0005ll-4S for 25454@debbugs.gnu.org; Sat, 27 Jul 2019 07:32:24 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hrKw0-0006nj-Gy; Sat, 27 Jul 2019 13:32:22 +0200 From: Lars Ingebrigtsen References: <871ryblq7w.fsf@mouse.gnus.org> <87imrnvhoz.fsf@gmail.com> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEXc2t729vkiHR+9sreO dn/q6u5/N+tPAAACWElEQVQ4jV3TzZKbMAwAYBHjO56E+45x70pk7tRS7zhE7/8qlQmbpWUyOfiz /CPJAF5VH5HR9zHeQxiIHCJ5eEPixW8ldgaLA6IGNq7PKX95la/ZgB3NM36gLJwL4fdS2BlsXp9c KPnXC8OG3oBci3jNesmpT7OuXbj+Rocz093gOWt5TP0kvt7DFYVoYereEXLhXpKvXRhW0NXXMTRY lC8L5tTVGj7fDitnWoTCuFY9wbZcEfokc1AH3Rm+tOomdB/tyifwtpR6nwlWYv4fAFZBRyIngMsC q8MtIuUsc/2Bh13ZQS9MkjOeoKC2WxXqf+VMn6XIoK5YSagACdcw7vtAkojqyNvGfwbb3oewXxJi jGxhFTIHdE6sJOMHiMnrwuuMTpbjwA2SCKFbyA69Frn/QIxWg8uU6fpnKGU+Q+TuNl3Fy1DicloK tYZrugqzK5HrNyzWKHaU2A2ZucTpgMywQyg85CVbfPd9c4M2qaTxIZLKB9Ay3+ARl76I5PQ+FtiO 1r7VG/BWZOoTHhFWOqc4G0gmQfiAjTtvXXsp0lLgE9UDMuXZcnqLIsJYZa/VCNnSYZsYiJWWfoAI iWYN9WULCUHYYVSwlNtPtb7aOPoxGYzagBnb63nZDFvpNoFF7ED2Fi0kS9utPhmOiGwTiXWVVkio D7b+1QZtIpLaUdtS3pLtRz0i0Po02bhdb4gWpTu0edaOCfbnfUv/gBUugWvwTNYwo+4poVysvhO0 zz8msiLUPbvl6IcW4qOgfyfxGN4F/Wb/em6ftxBcDHzYk3iCKBBTu3iDv5httvTR+ZAeAAAAAElF TkSuQmCC Date: Sat, 27 Jul 2019 13:32:20 +0200 In-Reply-To: <87imrnvhoz.fsf@gmail.com> (Noam Postavsky's message of "Sat, 27 Jul 2019 07:29:48 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Noam Postavsky writes: > Seems a bit small for a separate package. And the repeated call thing > could be useful in itself. Couldn't the increment behaviour be enabled > by a non-numeric argument instead? Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Noam Postavsky writes: > Seems a bit small for a separate package. And the repeated call thing > could be useful in itself. Couldn't the increment behaviour be enabled > by a non-numeric argument instead? Hm... I guess that's possible. But the "copy the previous line but increase the numbers" seems like a somewhat obscure thing to add to a command like that, but perhaps I'm just not seeing the use case. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sat Aug 16 19:20:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25454: 25.1; improvement ftoopy-from-above-command Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 Jul 2019 21:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25454 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: Noam Postavsky , 25454@debbugs.gnu.org Received: via spool by 25454-submit@debbugs.gnu.org id=B25454.156434902126239 (code B ref 25454); Sun, 28 Jul 2019 21:24:02 +0000 Received: (at 25454) by debbugs.gnu.org; 28 Jul 2019 21:23:41 +0000 Received: from localhost ([127.0.0.1]:47253 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrqdp-0006p9-KE for submit@debbugs.gnu.org; Sun, 28 Jul 2019 17:23:41 -0400 Received: from eastern.birch.relay.mailchannels.net ([23.83.209.55]:42205) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrqdm-0006oy-Rz for 25454@debbugs.gnu.org; Sun, 28 Jul 2019 17:23:40 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id A0EAF34126C; Sun, 28 Jul 2019 21:23:37 +0000 (UTC) Received: from pdx1-sub0-mail-a90.g.dreamhost.com (100-96-15-27.trex.outbound.svc.cluster.local [100.96.15.27]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 0F498341B30; Sun, 28 Jul 2019 21:23:37 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from pdx1-sub0-mail-a90.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.3); Sun, 28 Jul 2019 21:23:37 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Supply-Squirrel: 661e802930164f24_1564349017328_1226725453 X-MC-Loop-Signature: 1564349017328:1139956211 X-MC-Ingress-Time: 1564349017328 Received: from pdx1-sub0-mail-a90.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a90.g.dreamhost.com (Postfix) with ESMTP id 4BF8C7FD00; Sun, 28 Jul 2019 14:23:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=nZ/guibESKL9bdRjJhmiyOqefok=; b= rs2gf35WS3+PGxX5EkxDMGHe/Cty7CjMdXvADp+0NlBRBDBepI9yzq0Q0SQp9g/3 q4UbaGdVRPzLgS7A2cMBIQydBnMiZu+1WKhQ1YDrUcA6vuXvhg4ZLNQkA9DeFmQZ mFVuzHgvNvJWrXvm/GnrcpfDlqAaTndpDS9SMsjeA3Y= Received: from mail.jurta.org (m91-129-103-76.cust.tele2.ee [91.129.103.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a90.g.dreamhost.com (Postfix) with ESMTPSA id 47E827FCF0; Sun, 28 Jul 2019 14:23:33 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a90 From: Juri Linkov Organization: LINKOV.NET References: <871ryblq7w.fsf@mouse.gnus.org> <87imrnvhoz.fsf@gmail.com> Date: Sun, 28 Jul 2019 23:50:25 +0300 In-Reply-To: (Lars Ingebrigtsen's message of "Sat, 27 Jul 2019 13:32:20 +0200") Message-ID: <874l36tgza.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduvddrkeelgdduieefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrddutdefrdejieenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrddutdefrdejiedprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopehlrghrshhisehgnhhushdrohhrghenucevlhhushhtvghrufhiiigvpedt X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >> Seems a bit small for a separate package. And the repeated call thing >> could be useful in itself. Couldn't the increment behaviour be enabled >> by a non-numeric argument instead? > > Hm... I guess that's possible. But the "copy the previous line but > increase the numbers" seems like a somewhat obscure thing to add to a > command like that, but perhaps I'm just not seeing the use case. What I do in these cases is copy the current line ARG times, and then use query-replace with \# to increment numbers. I prefer query-replace for its flexibility since numeric formats and initial numeric values vary wildly. From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 29 12:38:37 2019 Received: (at control) by debbugs.gnu.org; 29 Aug 2019 16:38:37 +0000 Received: from localhost ([127.0.0.1]:52853 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i3NRV-0003l9-3O for submit@debbugs.gnu.org; Thu, 29 Aug 2019 12:38:37 -0400 Received: from blade3.isti.cnr.it ([194.119.192.3]:12053 helo=mx-all.isti.cnr.it) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i3NRT-0003kq-Ij for control@debbugs.gnu.org; Thu, 29 Aug 2019 12:38:35 -0400 Received: from savesent-daemon.mx-all.isti.cnr.it by mx-all.isti.cnr.it (PMDF V6.7-x04 #1884) id <01RAT9BJCX1SJ1H6UC@mx-all.isti.cnr.it> for control@debbugs.gnu.org; Thu, 29 Aug 2019 13:23:05 +0200 (MEST) Received: from tucano.isti.cnr.it ([146.48.81.102]) by mx-all.isti.cnr.it (PMDF V6.7-x04 #1884) with ESMTPSA id <01RAT9BJ7YLUJ1H68K@mx-all.isti.cnr.it> for control@debbugs.gnu.org; Thu, 29 Aug 2019 13:23:05 +0200 (MEST) Received: from pot by tucano.isti.cnr.it with local (Exim 4.92.1) (envelope-from ) id 1i3IXh-0000n4-Ur for control@debbugs.gnu.org; Thu, 29 Aug 2019 13:24:41 +0200 Date: Thu, 29 Aug 2019 13:24:41 +0200 From: =?utf-8?Q?Francesco_Potort=C3=AC?= Subject: unarchive 25454 To: control@debbugs.gnu.org Message-id: Organization: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8bit X-INSM-ip-source: 146.48.81.102 Auth Done X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) unarchive 25454 From unknown Sat Aug 16 19:20:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25454: 25.1; improvement ftoopy-from-above-command Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Aug 2019 09:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25454 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Francesco =?UTF-8?Q?Potort=C3=AC?= Cc: Noam Postavsky , 25454@debbugs.gnu.org Received: via spool by 25454-submit@debbugs.gnu.org id=B25454.15671587453676 (code B ref 25454); Fri, 30 Aug 2019 09:53:01 +0000 Received: (at 25454) by debbugs.gnu.org; 30 Aug 2019 09:52:25 +0000 Received: from localhost ([127.0.0.1]:53322 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i3dZw-0000xD-Sf for submit@debbugs.gnu.org; Fri, 30 Aug 2019 05:52:25 -0400 Received: from quimby.gnus.org ([80.91.231.51]:39424) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i3dZt-0000wz-Sg for 25454@debbugs.gnu.org; Fri, 30 Aug 2019 05:52:22 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i3dZo-0000Rw-TR; Fri, 30 Aug 2019 11:52:19 +0200 From: Lars Ingebrigtsen References: <871ryblq7w.fsf@mouse.gnus.org> <87imrnvhoz.fsf@gmail.com> Date: Fri, 30 Aug 2019 11:52:16 +0200 In-Reply-To: ("Francesco \=\?utf-8\?Q\?Potort\=C3\=AC\=22's\?\= message of "Thu, 29 Aug 2019 13:03:38 +0200") Message-ID: <87blw7htf3.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Francesco =?UTF-8?Q?Potort=C3=AC?= writes: >>Seems a bit small for a separate package. And the repeated call thing >>could be useful in itself. Couldn't the increment behaviour be enabled >>by a non-numeric argument instead? > > What do you su [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Francesco Potort=C3=AC writes: >>Seems a bit small for a separate package. And the repeated call thing >>could be useful in itself. Couldn't the increment behaviour be enabled >>by a non-numeric argument instead? > > What do you suggest? Maybe M-3 M-p copies the next three characters, > while C-u 3 M-p increments by three? M-3 and C-u 3 do the same thing, I think? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sat Aug 16 19:20:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25454: 25.1; improvement ftoopy-from-above-command Resent-From: Francesco =?UTF-8?Q?Potort=C3=AC?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 31 Aug 2019 12:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25454 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: 25454@debbugs.gnu.org, Noam Postavsky Received: via spool by 25454-submit@debbugs.gnu.org id=B25454.156725388019442 (code B ref 25454); Sat, 31 Aug 2019 12:18:02 +0000 Received: (at 25454) by debbugs.gnu.org; 31 Aug 2019 12:18:00 +0000 Received: from localhost ([127.0.0.1]:55072 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i42KO-00053W-JT for submit@debbugs.gnu.org; Sat, 31 Aug 2019 08:18:00 -0400 Received: from blade4.isti.cnr.it ([194.119.192.4]:29381 helo=mx-all.isti.cnr.it) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i42KM-00053M-8H for 25454@debbugs.gnu.org; Sat, 31 Aug 2019 08:17:58 -0400 Received: from savesent-daemon.mx-all.isti.cnr.it by mx-all.isti.cnr.it (PMDF V6.7-x04 #1884) id <01RAW3T62URKJVFY2E@mx-all.isti.cnr.it> for 25454@debbugs.gnu.org; Sat, 31 Aug 2019 14:17:52 +0200 (MEST) Received: from tucano.isti.cnr.it ([146.48.81.102]) by mx-all.isti.cnr.it (PMDF V6.7-x04 #1884) with ESMTPSA id <01RAW3T5W1SKJVFXVS@mx-all.isti.cnr.it>; Sat, 31 Aug 2019 14:17:52 +0200 (MEST) Received: from pot by tucano.isti.cnr.it with local (Exim 4.92.1) (envelope-from ) id 1i42KK-0001zG-DP; Sat, 31 Aug 2019 14:17:56 +0200 Date: Sat, 31 Aug 2019 14:17:56 +0200 From: Francesco =?UTF-8?Q?Potort=C3=AC?= In-reply-to: <87blw7htf3.fsf@gnus.org> Message-id: Organization: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8BIT X-INSM-ip-source: 146.48.81.102 Auth Done X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 References: <871ryblq7w.fsf@mouse.gnus.org> <87imrnvhoz.fsf@gmail.com> <87blw7htf3.fsf@gnus.org> X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) >>Lars: >>>Seems a bit small for a separate package. And the repeated call thing >>>could be useful in itself. Couldn't the increment behaviour be enabled >>>by a non-numeric argument instead? >Francesco Potortì writes: >> What do you suggest? Maybe M-3 M-p copies the next three characters, >> while C-u 3 M-p increments by three? >M-3 and C-u 3 do the same thing, I think? They normally do. And they do in this case. But it can be changed, and I was following up with your suggestion, with a proposal for a different user interface where M-3 and C-u 3 do different things. However, as I explaind in a previous message, I suspect that the current default behaviour is useless. It is certainly useless to me, which is why I overrode the meaning of the numerical prefix. From unknown Sat Aug 16 19:20:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25454: 25.1; improvement ftoopy-from-above-command Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 Sep 2019 13:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25454 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Francesco =?UTF-8?Q?Potort=C3=AC?= Cc: Lars Ingebrigtsen , 25454@debbugs.gnu.org Received: via spool by 25454-submit@debbugs.gnu.org id=B25454.156734625526983 (code B ref 25454); Sun, 01 Sep 2019 13:58:01 +0000 Received: (at 25454) by debbugs.gnu.org; 1 Sep 2019 13:57:35 +0000 Received: from localhost ([127.0.0.1]:57019 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i4QMI-000719-T6 for submit@debbugs.gnu.org; Sun, 01 Sep 2019 09:57:35 -0400 Received: from mail-io1-f49.google.com ([209.85.166.49]:33038) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i4QMG-00070p-VC for 25454@debbugs.gnu.org; Sun, 01 Sep 2019 09:57:33 -0400 Received: by mail-io1-f49.google.com with SMTP id z3so24242413iog.0 for <25454@debbugs.gnu.org>; Sun, 01 Sep 2019 06:57:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=O71w9wdRVn1D26AEhyRmf7vmiE0sKRGK8muMhXFxpgg=; b=cytcNz/ZGQFKABr2gHsRl7CMLx0rC3Jvu8pY+pGzsqxTscC/XUq4v2nbUU+208Bt7y kMOpv+SHA13VdAiUi40ytMq1Javg8RX4d3GopdaDbD9wBcY92DHN2XE3veAruIIc8Dkp cyVOKvyBNGBbUkEz+SXheRHl/ToSFMyDRMGfWn5BDoqDGfQYosa8dvNGawA+5h/cgt96 8Aax0hnA0uFLXqEvJSZn6QDCUVMLPDcEABnCKQhGNQeeNuAKrFPRaN4ikEkQfR1MFmYg 6W7iEnqhSV+q2GGS/jG93DZ5aaIPamHbalKQHBvbCZbs0361Gre7smIb+/D7TE+sz6xl kGeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=O71w9wdRVn1D26AEhyRmf7vmiE0sKRGK8muMhXFxpgg=; b=jIHDKiuoC7givSQEZf8r5/jdyH0shg0SR8z3dxO0HDQ3iJ43bsGnRwJyQUXKdZpxrC 1XJPgkppbcE2gzzagZnC2vO+h52nzLnG2A11jdp6Q8Ot28qp7ue1n9NwLjZbjlXxqRNg LwivXk8S+s4bOuc+ClwpjpV70fiv9IQsUGlxxmjCzMS1Uh1ws9SGej0alhzB9Ylj4PYl FkBvyS87hkRPc11or3QrdqBCMK1vPNozRZ15QubD377ho3SdZlicbAwUMkHsBJsTrOvf NRWTuREyxeE5RTCaevpZZ+jFYKP0xSYj0hoWs7wCSMPMM4FVz3+2HKER1xXaYlBSmNEq zBjg== X-Gm-Message-State: APjAAAVfv4JJN9ElIhKMWnZUF46p/5Xqj4XCusMmfGKgWqiTBRvIa6ay Xgxh4MIG7Mq1DM440hRHbvP7kIhf X-Google-Smtp-Source: APXvYqxjWRvHLKq2Spt0n81tRsoxoFUmtPABMqnBLEo5W773YfxMnHpBSPNWpCufjlujonerFZ9H8g== X-Received: by 2002:a6b:6013:: with SMTP id r19mr9944268iog.94.1567346247115; Sun, 01 Sep 2019 06:57:27 -0700 (PDT) Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.gmail.com with ESMTPSA id q74sm21461399iod.72.2019.09.01.06.57.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 01 Sep 2019 06:57:26 -0700 (PDT) From: Noam Postavsky References: <871ryblq7w.fsf@mouse.gnus.org> <87imrnvhoz.fsf@gmail.com> <87blw7htf3.fsf@gnus.org> Date: Sun, 01 Sep 2019 09:57:16 -0400 In-Reply-To: ("Francesco \=\?utf-8\?Q\?Potort\=C3\=AC\=22's\?\= message of "Sat, 31 Aug 2019 14:17:56 +0200") Message-ID: <87imqcm85f.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Francesco Potort=C3=AC writes: >>>Lars: >>>>Seems a bit small for a separate package. And the repeated call thing >>>>could be useful in itself. Couldn't the increment behaviour be enabled >>>>by a non-numeric argument instead? > >>Francesco Potort=C3=AC writes: >>> What do you suggest? Maybe M-3 M-p copies the next three characters, >>> while C-u 3 M-p increments by three? > >>M-3 and C-u 3 do the same thing, I think? > > They normally do. And they do in this case. But it can be changed, and > I was following up with your suggestion, with a proposal for a different > user interface where M-3 and C-u 3 do different things. No, both C-u 3 and M-3 will set the prefix argument to 3, so commands cannot distinguish between them. I know I suggested the numeric vs non-numeric thing, but I think I was just confused about it. Non-numeric arguments are only good for a single toggle (increment vs no increment), not control over a amount (increment by X). And you can't express both at once (both increment and repeat).