From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: pietru@caramail.com Newsgroups: gmane.emacs.help Subject: Sorting by author name first, then by year Date: Fri, 7 May 2021 00:49:41 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15045"; mail-complaints-to="usenet@ciao.gmane.io" To: Help Gnu Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 07 00:50:39 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lempK-0003mG-Em for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 07 May 2021 00:50:38 +0200 Original-Received: from localhost ([::1]:34348 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lempJ-00073l-Bf for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 06 May 2021 18:50:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37020) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lemoV-00073f-Cz for help-gnu-emacs@gnu.org; Thu, 06 May 2021 18:49:47 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:38115) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lemoT-0002Ku-1K for help-gnu-emacs@gnu.org; Thu, 06 May 2021 18:49:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1620341381; bh=DVgjZbgpuYX4GcPQT3/f0HGD/PA2byCn0XyQUt6VvPw=; h=X-UI-Sender-Class:From:To:Subject:Date; b=i7Py7Mj8y7X+ISXyMSLTGjhjQkjy3Jtm0jmKTZXMQ0SzAiZU/RHBx+94m7LiwpmZL YTXg9mm05cOcnfggq5BFxiA1iq9gTZ0d6e3oWV/SH5DUY5qFXruva5ooT6zBMx4Lhd RIFeBNX8nkd/0vcUt3IgT24s4PLIfhEZKIgI6JLI= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs12.server.lan [172.19.170.180]) (via HTTP); Fri, 7 May 2021 00:49:41 +0200 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:1e3tNfsRi847Qb3wdKk1pUaD189PZ+xduc3Arg9ompm7ZfBweTpJ6CJDtKZnixChxRsK2 dtmFU6drOLCJJTSOeDChagmIbTs71V+5yrSp8H1RjLubHJChhjB0SJE8MPpl0U+NKQXKknM3yFDQ kaaLYwbCJjpPe/HW2eplMALKc7B3tGZpVwmv0kQdpQCaxjaciKMey7ciZAgb6+LOuvcYFSaX+/o2 j1aSxqo8xMEFWfoPSRGLzMNm3mSJP8bH8sRSHJk1Fi0AAqVdJwLdLsWU5kh+HAmyWTIHvNkCuIav AU= X-UI-Out-Filterresults: notjunk:1;V03:K0:7NCmJhFZ4j4=:M6y3yma/ai8zmGBoc1DNoZ KdDxMW5HFIKde5g6+1N0yu04djqkCwzs8a+cuvV2H3SrYvfe2miMIkuOxCqxt0Sq3PWsktdoc LVMVujwnxyhVE8sh9pxQZwUYYOKd/1zq2BpaEWg6yUcHLSYgHaFEc8jiqYXMglu3y9hwGLcN1 1BpSlWfv2iBjI1w8UtNJVaiNGz8uSHl0EB8+pTp0QXNYRCViYwX65SaZ1sOR9NwJ+2gfC3pZS M3r/aqpuJh0x+/8grwfsZvNAcqZ6UTSyHn4RKiKVyCdsCeJukxJ4Dk157MfNFd+7gcGsIvfYu ZNNpR8I0sgl8yoSsBHj00enWR1fMxFblBbeuDAwllOek6cHqhrJteB48bCryA2tsGF4fCz8DF sjuCSD9Z/EaXOIIkWe8bfAllYiFfLiH0MiVoQrghhvVwepHFuctCAKhY60VyYmdvfI9xSVUa2 WpEoZpMeUl7VeDaduSu+f5/rPSGiYktorin84jHC3ayZMtctDZQNa8b+j+OxK08mCllfkn53T 11aFKOa8mzcI3uJbebY2X51CiAb3D5TaByY3l04b/vHGWfoSLvKhG1F4LuZNOEvPgNveXFxyp 4DInHDWjrNHjCyVMpBYHd59B1pdNv06SzpfMmqqzm9yGi9sk+8MCerlIshURvOoIkzbPojHL2 ZXK+ngVOrT59kqVYPCA1eEvSjh+OQ4cJ1/tzkrDvNiw1XodXAkF0HFF+cIkmiZDg+RZE5alSL PHME5IpEETWXZsAMrVPsNymXwKU+uZo/XX55HvXfKx5b5Xm+BbbxpWpvHvPm9xDy8Tdctl1g Received-SPF: pass client-ip=212.227.17.22; envelope-from=pietru@caramail.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:129532 Archived-At: I have a texinfo file with blocks as below, sorted first by year, then by = author surname using strings starting with "bibl-". The contents of each block a= re embedded within "@ifset" and "@end ifset". Now I want to sort them, first according to surname, then by year, the ear= lier year put first. So I am looking to make a function that could do it. =2D------- @ignore * bibl-bouee-poli-etal-2013 @end ignore @ifset show-bouee-poli-etal-2013 @sp 1 @anchor{bibl-bouee-poli-etal-2013} 2013.@: @sc{Bou@'ee, P.}; Poli, P.; Campillo, M.; Pedersen, H.; Briand, X.; Roux, P.; @strong{Teleseismic correlations of ambient seismic noise for deep global imaging of the Earth.} Geophysical Journal International, Volume 194, Issue 2, Pages 844-848. @uref{https://academic.oup.com/gji/article/194/2/844/2116979,, [@sc{Complete Article}]} [@code{bibl-bouee-poli-etal-2013}]. @c Published: April 16, 2013. @end ifset @ignore * bibl-verschuur-2013 @end ignore @ifset show-verschuur-2013 @sp 1 @anchor{bibl-verschuur-2013} 2013.@: @sc{Verschuur, Dirk J.}; @strong{Seismic multiple removal techniques.} @uref{https://bookshop.eage.org/product/seismic-multiple-removal-technique= s-past-present-and-future-revised-edition/,, [@sc{Citation Doi}]} [@code{bibl-verschuur-2013}]. @c Published: January 01, 2013. @end ifset