From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sharon Kimble Subject: Re: How to rename the agenda in org-mode? Date: Mon, 04 Apr 2016 18:53:36 +0100 Message-ID: <87shz1w99b.fsf@skimble.plus.com> References: <87h9fi6f3j.fsf@skimble.plus.com> <871t6m25ik.fsf@nicolasgoaziou.fr> <87vb3y1u4v.fsf@skimble.plus.com> <87fuv2a7b0.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46715) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1an8hA-000792-4R for emacs-orgmode@gnu.org; Mon, 04 Apr 2016 13:53:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1an8h6-0004vT-Uw for emacs-orgmode@gnu.org; Mon, 04 Apr 2016 13:53:48 -0400 Received: from avasout07.plus.net ([84.93.230.235]:35255) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1an8h6-0004vI-Ow for emacs-orgmode@gnu.org; Mon, 04 Apr 2016 13:53:44 -0400 In-Reply-To: (Adam Porter's message of "Sun, 3 Apr 2016 19:48:29 +0000 (UTC)") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Adam Porter Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Adam Porter writes: > Oops, that'll teach me to edit elisp without aggressive-indent-mode. :)= =20 > This should work: > > (advice-add 'tabbar-buffer-tab-label :before-until > (lambda (tab) > (with-current-buffer (buffer-name (tabbar-tab-value tab)) > (when (equal major-mode 'org-agenda-mode) > "Agenda")))) Brilliant, thanks very much Adam, that works a treat. Thanks Sharon. =2D-=20 A taste of linux =3D http://www.sharons.org.uk TGmeds =3D http://www.tgmeds.org.uk Debian 8.4, fluxbox 1.3.7, emacs 25.0.92 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJXAqogAAoJEDaBgBkK+INb0wAQAMiV5/Ld4Zwjvp8kRFRsfY4x xu4M/dSAx7JC0aj9yNoEdDa4abF1ebvNfI+eL82OUg4pyrfVc5cIaJA2Cnv6dFDc PwcpercsVf5nXAzBJHTXkBVz7FiGCHtkFYzWfyX5if8h5m7c0YlI/7iIc+jtT7jC 0CVqOxBHoxuU50Bq2FU/RH/qEdt6cLP1Ea1Xpc/gbpblVKQElKdaD9yNzqD/iXbS 0k4JKsKB61UrHAKWsfAQHf0xM4uQ/jmI42bH7znylNSxeMBHqJ0R65fEQQ8CpSXc Kf1/oPtBOI4227f3fUWM+xTxhw/Txtq/P36hHt/CHCZcfeqbogSaXJ6LUH9Py6+9 jPdxmAs2j8GkvihSaKrmnH9u91nr0DuSK0n4UN/Po0HjBZgbJeV9V84bxLcxIiNV L+JhTaTLoqtxmOBNTNU2iwwJFx9K5MpVYcI/+IHJR1zvZKpL7n5akKbQcm1mG+KD f5e/FY+aMZE9o4oqk8G2KrD2BXlqIfR0FPKWKGrPBMK8HDWgFxRy4aEBDmeFlVTG JWclDLofitgKPDhX2rYkC2DkEzUCbW5yJNMseUMMGuWw4t3Z2jagJIedCV9HA0Eb 3SQ2YQysmn25GaeffkZIswnmp2PYDLz+ezdqFSCfIZl33I4bkR2XsL9YEcrberkK Tyt82468Nrw3h4/EzVJP =kUIw -----END PGP SIGNATURE----- --=-=-=--