From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.help Subject: delete double lines Date: Fri, 11 Aug 2006 12:41:17 +0200 Message-ID: <9773EFADA4FF6C43A49824D50B1539A701628962@exbe04.intra.dlr.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0864823224==" X-Trace: sea.gmane.org 1155292928 10140 80.91.229.2 (11 Aug 2006 10:42:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 11 Aug 2006 10:42:08 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 11 12:42:07 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GBUSk-0002VH-VN for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Aug 2006 12:41:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GBUSk-00075S-Fn for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Aug 2006 06:41:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GBUSX-000745-83 for help-gnu-emacs@gnu.org; Fri, 11 Aug 2006 06:41:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GBUSV-00071q-3s for help-gnu-emacs@gnu.org; Fri, 11 Aug 2006 06:41:44 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GBUSU-00071R-77 for help-gnu-emacs@gnu.org; Fri, 11 Aug 2006 06:41:42 -0400 Original-Received: from [195.37.61.185] (helo=smtp-1.dlr.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GBUXb-0000fs-9D for help-gnu-emacs@gnu.org; Fri, 11 Aug 2006 06:46:59 -0400 Original-Received: from exbe04.intra.dlr.de ([192.168.35.37]) by smtp-1.dlr.de with Microsoft SMTPSVC(6.0.3790.1830); Fri, 11 Aug 2006 12:41:39 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5.7232.53 Content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: delete double lines Thread-Index: Aca9Mq0zKQSuKmZCTyKM54EVlU0UTw== Original-To: X-OriginalArrivalTime: 11 Aug 2006 10:41:39.0447 (UTC) FILETIME=[BA132870:01C6BD32] X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:36594 Archived-At: This is a multi-part message in MIME format. --===============0864823224== Content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C6BD32.AD886F2A" This is a multi-part message in MIME format. ------_=_NextPart_001_01C6BD32.AD886F2A Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable hello all, =20 is there any solution for delete double lines with emacs commands (or macros)? =20 f.g. =20 line1 line1 line2 line1 line2 =20 shall be processed to =20 line1 line2 =20 =20 thanks and greetings from munich christian ------_=_NextPart_001_01C6BD32.AD886F2A Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
hello=20 all,
 
is = there any=20 solution for delete double lines with emacs commands (or=20 macros)?
 
f.g.
 
line1
line1
line2
line1
line2
 
shall = be processed=20 to
 
line1
line2
 
 
thanks = and greetings=20 from munich
christian
------_=_NextPart_001_01C6BD32.AD886F2A-- --===============0864823224== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ help-gnu-emacs mailing list help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs --===============0864823224==-- From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: delete double lines Date: Fri, 11 Aug 2006 12:56:55 +0200 Message-ID: References: <9773EFADA4FF6C43A49824D50B1539A701628962@exbe04.intra.dlr.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1155293844 12792 80.91.229.2 (11 Aug 2006 10:57:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 11 Aug 2006 10:57:24 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 11 12:57:22 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GBUhb-0005Ft-ID for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Aug 2006 12:57:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GBUhb-0000jC-5H for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Aug 2006 06:57:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GBUhQ-0000ix-4B for help-gnu-emacs@gnu.org; Fri, 11 Aug 2006 06:57:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GBUhN-0000ic-E4 for help-gnu-emacs@gnu.org; Fri, 11 Aug 2006 06:57:06 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GBUhN-0000iZ-81 for help-gnu-emacs@gnu.org; Fri, 11 Aug 2006 06:57:05 -0400 Original-Received: from [217.72.192.227] (helo=fmmailgate02.web.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GBUmU-0001zq-EN for help-gnu-emacs@gnu.org; Fri, 11 Aug 2006 07:02:22 -0400 Original-Received: from smtp08.web.de (fmsmtp08.dlan.cinetic.de [172.20.5.216]) by fmmailgate02.web.de (Postfix) with ESMTP id C19651069F9E; Fri, 11 Aug 2006 12:56:57 +0200 (CEST) Original-Received: from [84.245.187.132] (helo=[192.168.1.2]) by smtp08.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.107 #114) id 1GBUhF-0006gX-00; Fri, 11 Aug 2006 12:56:57 +0200 In-Reply-To: <9773EFADA4FF6C43A49824D50B1539A701628962@exbe04.intra.dlr.de> X-Image-Url: http://homepage.mac.com/sparifankal/.cv/thumbs/me.thumbnail Original-To: X-Mailer: Apple Mail (2.752.2) X-Sender: Peter_Dyballa@web.de X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:36595 Archived-At: Am 11.08.2006 um 12:41 schrieb : > is there any solution for delete double lines with emacs commands =20 > (or macros)? > What about shell-command-on-region? And the shell command is 'sort -u'. -- Mit friedvollen Gr=FC=DFen Pete =93Computers are good at following instructions, but not at reading =20 your mind.=94 - D. E. Knuth, The TeXbook, Addison-Wesley 1984, 1986, 1996, p. 9 From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.help Subject: AW: delete double lines Date: Fri, 11 Aug 2006 13:04:08 +0200 Message-ID: <9773EFADA4FF6C43A49824D50B1539A701628976@exbe04.intra.dlr.de> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1155294325 14295 80.91.229.2 (11 Aug 2006 11:05:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 11 Aug 2006 11:05:25 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 11 13:05:23 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GBUpE-0006Xr-4k for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Aug 2006 13:05:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GBUpD-0005IB-OM for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Aug 2006 07:05:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GBUop-0005B7-QO for help-gnu-emacs@gnu.org; Fri, 11 Aug 2006 07:04:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GBUom-00057w-AA for help-gnu-emacs@gnu.org; Fri, 11 Aug 2006 07:04:45 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GBUol-00057Y-70 for help-gnu-emacs@gnu.org; Fri, 11 Aug 2006 07:04:43 -0400 Original-Received: from [195.37.61.187] (helo=smtp-2.dlr.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GBUts-0002px-1V for help-gnu-emacs@gnu.org; Fri, 11 Aug 2006 07:10:00 -0400 Original-Received: from exbe04.intra.dlr.de ([192.168.35.37]) by smtp-2.dlr.de with Microsoft SMTPSVC(6.0.3790.1830); Fri, 11 Aug 2006 13:04:41 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5.7232.53 Content-class: urn:content-classes:message In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: delete double lines Thread-Index: Aca9NN23ZD/BK0kBQtm8xjCeUE0koQAAJUAQ Original-To: X-OriginalArrivalTime: 11 Aug 2006 11:04:41.0537 (UTC) FILETIME=[F1DD5B10:01C6BD35] X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:36596 Archived-At: i am working in an windows environment. i think the windows sort command = has no comparable option to suppress double lines. =20 -----Urspr=FCngliche Nachricht----- Von: Peter_Dyballa@Web.DE [mailto:Peter_Dyballa@Web.DE]=20 Gesendet: Freitag, 11. August 2006 12:57 An: Strobl, Christian Cc: help-gnu-emacs@gnu.org Betreff: Re: delete double lines Am 11.08.2006 um 12:41 schrieb : > is there any solution for delete double lines with emacs commands (or=20 > macros)? > What about shell-command-on-region? And the shell command is 'sort -u'. -- Mit friedvollen Gr=FC=DFen Pete "Computers are good at following instructions, but not at reading =20 your mind." - D. E. Knuth, The TeXbook, Addison-Wesley 1984, 1986, 1996, p. 9 From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: AW: delete double lines Date: Fri, 11 Aug 2006 15:59:53 +0300 Message-ID: References: <9773EFADA4FF6C43A49824D50B1539A701628976@exbe04.intra.dlr.de> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1155301220 3785 80.91.229.2 (11 Aug 2006 13:00:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 11 Aug 2006 13:00:20 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 11 15:00:17 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GBWcR-0000bo-OM for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Aug 2006 15:00:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GBWcQ-0004Eg-Rc for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Aug 2006 09:00:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GBWcE-0004D1-Hh for help-gnu-emacs@gnu.org; Fri, 11 Aug 2006 08:59:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GBWcC-000477-Pg for help-gnu-emacs@gnu.org; Fri, 11 Aug 2006 08:59:54 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GBWcC-00046w-LP for help-gnu-emacs@gnu.org; Fri, 11 Aug 2006 08:59:52 -0400 Original-Received: from [192.114.186.73] (helo=heller.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GBWhK-0004c1-Ud for help-gnu-emacs@gnu.org; Fri, 11 Aug 2006 09:05:11 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-84-228-236-45.inter.net.il [84.228.236.45]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id AEY23883 (AUTH halo1); Fri, 11 Aug 2006 15:59:50 +0300 (IDT) Original-To: help-gnu-emacs@gnu.org In-reply-to: <9773EFADA4FF6C43A49824D50B1539A701628976@exbe04.intra.dlr.de> (C.Strobl@dlr.de) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:36598 Archived-At: > Date: Fri, 11 Aug 2006 13:04:08 +0200 > From: > Cc: help-gnu-emacs@gnu.org > > i am working in an windows environment. i think the windows sort command has no comparable option to suppress double lines. You can find a port of GNU sort on the GnuWin32 site. From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chris McMahan Newsgroups: gmane.emacs.help Subject: Re: delete double lines Date: Fri, 11 Aug 2006 09:30:42 -0400 Organization: PANIX Public Access Internet and UNIX, NYC Message-ID: References: <9773EFADA4FF6C43A49824D50B1539A701628962@exbe04.intra.dlr.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1155303727 12525 80.91.229.2 (11 Aug 2006 13:42:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 11 Aug 2006 13:42:07 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 11 15:42:05 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GBXGm-0008FF-5d for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Aug 2006 15:41:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GBXGl-0003z1-Cs for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Aug 2006 09:41:47 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!panix!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 33 Original-NNTP-Posting-Host: panix5.panix.com Original-X-Trace: reader2.panix.com 1155303084 28428 166.84.1.5 (11 Aug 2006 13:31:24 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Fri, 11 Aug 2006 13:31:24 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) Cancel-Lock: sha1:rSbljzII8JW7WWeyM99Nh/YygX0= Original-Xref: shelby.stanford.edu gnu.emacs.help:140974 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:36599 Archived-At: M-x sort-lines to get the same results. If you only want to sort part of the buffer, just highlight the region you want sorted and execute the same function. I use this quite frequently! - Chris Peter Dyballa writes: > Am 11.08.2006 um 12:41 schrieb : > >> is there any solution for delete double lines with emacs commands >> (or macros)? >> > > What about shell-command-on-region? And the shell command is 'sort -u'. > > -- > Mit friedvollen Grüßen > > Pete > > “Computers are good at following instructions, but not at reading > your mind.” > - D. E. Knuth, The TeXbook, Addison-Wesley 1984, 1986, 1996, p. 9 -- (. .) =ooO=(_)=Ooo===================================== Chris McMahan | first_initiallastname@one.dot.net ================================================= From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chris McMahan Newsgroups: gmane.emacs.help Subject: Re: delete double lines Date: Fri, 11 Aug 2006 09:34:25 -0400 Organization: PANIX Public Access Internet and UNIX, NYC Message-ID: References: <9773EFADA4FF6C43A49824D50B1539A701628962@exbe04.intra.dlr.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1155303750 12597 80.91.229.2 (11 Aug 2006 13:42:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 11 Aug 2006 13:42:30 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 11 15:42:30 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GBXHC-0008Li-MC for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Aug 2006 15:42:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GBXHC-0004Pi-1I for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Aug 2006 09:42:14 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!newsfeed2.dallas1.level3.net!news.level3.com!panix!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 42 Original-NNTP-Posting-Host: panix5.panix.com Original-X-Trace: reader2.panix.com 1155303308 28428 166.84.1.5 (11 Aug 2006 13:35:08 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Fri, 11 Aug 2006 13:35:08 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) Cancel-Lock: sha1:CPQASXZHm42uOC2nqhCgq6GekZQ= Original-Xref: shelby.stanford.edu gnu.emacs.help:140975 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:36600 Archived-At: Oops! sort-lines doesn't uniquify... Cygwin has a sort function that handles the -u switch, but it means installing the entire cygwin environment. - Chris Chris McMahan writes: > M-x sort-lines to get the same results. > > If you only want to sort part of the buffer, just highlight the region > you want sorted and execute the same function. > > I use this quite frequently! > > - Chris > > Peter Dyballa writes: > >> Am 11.08.2006 um 12:41 schrieb : >> >>> is there any solution for delete double lines with emacs commands >>> (or macros)? >>> >> >> What about shell-command-on-region? And the shell command is 'sort -u'. >> >> -- >> Mit friedvollen Grüßen >> >> Pete >> >> “Computers are good at following instructions, but not at reading >> your mind.” >> - D. E. Knuth, The TeXbook, Addison-Wesley 1984, 1986, 1996, p. 9 -- (. .) =ooO=(_)=Ooo===================================== Chris McMahan | first_initiallastname@one.dot.net ================================================= From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Pascal Bourguignon Newsgroups: gmane.emacs.help Subject: Re: AW: delete double lines Date: Fri, 11 Aug 2006 17:06:53 +0200 Organization: Informatimago Message-ID: <877j1f5n1u.fsf@thalassa.informatimago.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1155310908 6299 80.91.229.2 (11 Aug 2006 15:41:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 11 Aug 2006 15:41:48 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 11 17:41:48 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GBZ8i-0007iy-Qh for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Aug 2006 17:41:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GBZ8d-00074D-E0 for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Aug 2006 11:41:31 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-X-Trace: individual.net MVs6ViW8t7mkQuO7oCL/kgS3xyFqEPbbzuKPDnbdEiCOX4441A Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en X-Disabled: X-No-Archive: no User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:KxJ55pPoECvOUB8hChMpR5XdxuE= Original-Xref: shelby.stanford.edu gnu.emacs.help:140979 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:36604 Archived-At: writes: > Peter_Dyballa@Web.DE [mailto:Peter_Dyballa@Web.DE] wrote: > > Am 11.08.2006 um 12:41 schrieb : > > > >> is there any solution for delete double lines with emacs commands (or > >> macros)? > > > > What about shell-command-on-region? And the shell command is 'sort -u'. > > i am working in an windows environment. i think the windows sort > command has no comparable option to suppress double lines. On MS-Windows, you can easily install cygwin and use the full featured sort from cygwin. http://www.cygwin.com/ -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? __Pascal Bourguignon__ http://www.informatimago.com/ From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mathias Dahl Newsgroups: gmane.emacs.help Subject: Re: AW: delete double lines Date: Sat, 12 Aug 2006 02:18:29 +0200 Message-ID: References: <877j1f5n1u.fsf@thalassa.informatimago.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1155343417 8454 80.91.229.2 (12 Aug 2006 00:43:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 12 Aug 2006 00:43:37 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 12 02:43:35 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GBhbB-0000EU-1z for geh-help-gnu-emacs@m.gmane.org; Sat, 12 Aug 2006 02:43:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GBhbA-0005a6-G5 for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Aug 2006 20:43:32 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 9 Original-X-Trace: individual.net c+GWSISF5bhehrF0rPIw4wdv77Av2SpfyCOPNY8ymL0l9PwDR9 User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:66a+mReYd+EOJVzpYXbk9ripHVM= Original-Xref: shelby.stanford.edu gnu.emacs.help:140989 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:36614 Archived-At: Pascal Bourguignon writes: Nice sig :) > -- > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > A: Top-posting. > Q: What is the most annoying thing on usenet and in e-mail? From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: AW: delete double lines Date: Fri, 11 Aug 2006 17:52:19 -0700 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1155343977 9482 80.91.229.2 (12 Aug 2006 00:52:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 12 Aug 2006 00:52:57 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 12 02:52:53 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GBhk9-00029t-Jf for geh-help-gnu-emacs@m.gmane.org; Sat, 12 Aug 2006 02:52:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GBhk9-0004nV-3M for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Aug 2006 20:52:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GBhjx-0004nQ-Ly for help-gnu-emacs@gnu.org; Fri, 11 Aug 2006 20:52:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GBhju-0004n6-5f for help-gnu-emacs@gnu.org; Fri, 11 Aug 2006 20:52:37 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GBhju-0004n3-2N for help-gnu-emacs@gnu.org; Fri, 11 Aug 2006 20:52:34 -0400 Original-Received: from [148.87.113.118] (helo=rgminet01.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.52) id 1GBhp9-0006dF-Aj for help-gnu-emacs@gnu.org; Fri, 11 Aug 2006 20:57:59 -0400 Original-Received: from rgmgw3.us.oracle.com (rgmgw3.us.oracle.com [138.1.186.112]) by rgminet01.oracle.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id k7C0qVUF016594 for ; Fri, 11 Aug 2006 18:52:31 -0600 Original-Received: from dradamslap (dhcp-amer-csvpn-gw2-141-144-75-49.vpn.oracle.com [141.144.75.49]) by rgmgw3.us.oracle.com (Switch-3.1.7/Switch-3.1.7) with SMTP id k7C0qUDO012344 for ; Fri, 11 Aug 2006 18:52:31 -0600 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:36615 Archived-At: Touche'! From: Mathias Dahl Pascal Bourguignon writes: Nice sig :) > -- > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > A: Top-posting. > Q: What is the most annoying thing on usenet and in e-mail?