From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Adri=C3=A1n_?= =?UTF-8?Q?Medra=C3=B1o?= Calvo Newsgroups: gmane.emacs.bugs Subject: bug#23863: 25.0.94; `delete-duplicate-lines' ignores first line in when REVERSE is non-nil Date: Tue, 28 Jun 2016 21:43:48 +0200 Message-ID: <5772D374.9080406@fastmail.fm> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1467144602 2501 80.91.229.3 (28 Jun 2016 20:10:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Jun 2016 20:10:02 +0000 (UTC) To: 23863@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 28 22:09:50 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1bHzKK-0001Zb-IE for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 Jun 2016 22:09:44 +0200 Original-Received: from localhost ([::1]:39519 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHzKJ-0001tf-RK for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 Jun 2016 16:09:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50611) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHz6C-00031a-FW for bug-gnu-emacs@gnu.org; Tue, 28 Jun 2016 15:55:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bHz67-0000tF-GB for bug-gnu-emacs@gnu.org; Tue, 28 Jun 2016 15:55:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47035) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHz66-0000sn-98 for bug-gnu-emacs@gnu.org; Tue, 28 Jun 2016 15:55:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bHz66-00072H-5V for bug-gnu-emacs@gnu.org; Tue, 28 Jun 2016 15:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Adri=C3=A1n_?= =?UTF-8?Q?Medra=C3=B1o?= Calvo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 28 Jun 2016 19:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23863 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.146714368927018 (code B ref -1); Tue, 28 Jun 2016 19:55:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Jun 2016 19:54:49 +0000 Original-Received: from localhost ([127.0.0.1]:59372 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bHz5s-00071f-QA for submit@debbugs.gnu.org; Tue, 28 Jun 2016 15:54:49 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56268) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bHyvd-0006lQ-UF for submit@debbugs.gnu.org; Tue, 28 Jun 2016 15:44:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bHyvX-0006Z9-F5 for submit@debbugs.gnu.org; Tue, 28 Jun 2016 15:44:08 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:43693) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHyvX-0006Z1-8a for submit@debbugs.gnu.org; Tue, 28 Jun 2016 15:44:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47208) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHyvV-00036t-NC for bug-gnu-emacs@gnu.org; Tue, 28 Jun 2016 15:44:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bHyvP-0006VI-Jb for bug-gnu-emacs@gnu.org; Tue, 28 Jun 2016 15:44:04 -0400 Original-Received: from out3-smtp.messagingengine.com ([66.111.4.27]:41600) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHyvO-0006S1-Ci for bug-gnu-emacs@gnu.org; Tue, 28 Jun 2016 15:43:59 -0400 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 126CA207AD; Tue, 28 Jun 2016 15:43:51 -0400 (EDT) Original-Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Tue, 28 Jun 2016 15:43:51 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=medranocalvo.com; h=content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=7N9 i98FF3Mc+RTBT8jTAm5PSJwA=; b=VHeJg/ZL+d+1UT+4vBOySoVP157bUMeZgzH ddLoGyJRVTPY/AJm6WeZHfPIQt4xAI1TBDZO08E7RG7AkVeW5C/FmAf29h1neBop tH91mDFV2+M9JSzM3EWf8ajg+R8P2hkgjOIe8Y2fEjyKGquB5HdTTDSRW/eFll9x JY4lZQAU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=7N9i98FF3Mc+RTBT8jTAm5PSJwA=; b=fSrZL vvutNYPsB5ZAGwvQREPrAoYPWsumKL5VEHOp0zyxKVDrz+/lHlcYhFcfipF12aWq gdPcGMWnNau/SCJpzkel3tQSevOXoRG55CQHZGsbcGPfC6qF0Qul5nFHUwRMG83v 57jam/59ptABlvHc0+LXN8B1Nr9rgANNp5lCsw= X-Sasl-enc: 0g4uB14tZe3FbN5Zcrq0aTzAjvDxCUpg0BjBKOiYhYWC 1467143030 Original-Received: from [192.168.103.22] (x4db04020.dyn.telefonica.de [77.176.64.32]) by mail.messagingengine.com (Postfix) with ESMTPA id 97F16CCD26 for ; Tue, 28 Jun 2016 15:43:49 -0400 (EDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Tue, 28 Jun 2016 15:54:47 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:120186 Archived-At: When running `delete-duplicate-lines' in reverse mode (i.e., REVERSE is non-nil) the topmost line is not deleted. Please, see recipe: 1. Place the following lines in a buffer: This is line A. This is line B. This is line A. This is line C. This is line A. 2. Select all the lines 3. Invoke "C-u M-x delete-duplicate-lines". 4. Result is: This is line A. This is line B. This is line C. This is line A. The top line "This is line A." should have been deleted. Thank you, Adrián Medraño Calvo. --- In GNU Emacs 25.0.94.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8) of 2016-05-18 built on amclap Windowing system distributor 'The X.Org Foundation', version 11.0.11501000 System Description: Ubuntu 14.04.4 LTS Configured using: 'configure --prefix=/build/stow/emacs 'CFLAGS=-g3 -Og'' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 Important settings: value of $LC_ALL: en_US.UTF-8 value of $LC_MONETARY: de_DE.UTF-8 value of $LC_NUMERIC: de_DE.UTF-8 value of $LC_TIME: de_DE.UTF-8 value of $LANG: en_US value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Deleted 1 duplicate line backward Undo! Mark set Deleted 2 duplicate lines backward C-x C-g is undefined Undo! Making completion list... Type C-x 1 to delete the help window, C-M-v to scroll help. Mark set [85 times] Making completion list... Load-path shadows: None found. Features: (shadow mail-extr emacsbug message dired format-spec rfc822 mml mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils thingatpt help-fns help-mode easymenu cl-loaddefs pcase cl-lib sort time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham 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-hook 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 system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 89582 8685) (symbols 48 19872 0) (miscs 40 413 411) (strings 32 15134 4303) (string-bytes 1 445930) (vectors 16 12161) (vector-slots 8 437990 5299) (floats 8 166 156) (intervals 56 349 2) (buffers 976 13) (heap 1024 27743 554))