From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Matthias Meulien Newsgroups: gmane.emacs.bugs Subject: bug#16400: 24.3.50; [PATCH] Add menu entry for Global Auto Revert mode Date: Wed, 08 Jan 2014 09:12:29 +0100 Message-ID: <87k3earixe.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1389168788 17103 80.91.229.3 (8 Jan 2014 08:13:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Jan 2014 08:13:08 +0000 (UTC) To: 16400@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 08 09:13:13 2014 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 1W0oGG-000183-ON for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Jan 2014 09:13:12 +0100 Original-Received: from localhost ([::1]:45485 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0oGF-00070C-E5 for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Jan 2014 03:13:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58567) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0oG8-000705-89 for bug-gnu-emacs@gnu.org; Wed, 08 Jan 2014 03:13:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W0oG6-0000hC-LI for bug-gnu-emacs@gnu.org; Wed, 08 Jan 2014 03:13:04 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56205) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0oG6-0000h8-IB for bug-gnu-emacs@gnu.org; Wed, 08 Jan 2014 03:13:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W0oG6-0001pC-7u for bug-gnu-emacs@gnu.org; Wed, 08 Jan 2014 03:13:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Matthias Meulien Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Jan 2014 08:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 16400 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13891687636979 (code B ref -1); Wed, 08 Jan 2014 08:13:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Jan 2014 08:12:43 +0000 Original-Received: from localhost ([127.0.0.1]:41991 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W0oFm-0001oS-Ms for submit@debbugs.gnu.org; Wed, 08 Jan 2014 03:12:43 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:56791) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W0oFi-0001oH-Vu for submit@debbugs.gnu.org; Wed, 08 Jan 2014 03:12:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W0oFh-0000dE-4W for submit@debbugs.gnu.org; Wed, 08 Jan 2014 03:12:38 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:56391) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0oFh-0000d8-1I for submit@debbugs.gnu.org; Wed, 08 Jan 2014 03:12:37 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58506) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0oFf-0006yB-At for bug-gnu-emacs@gnu.org; Wed, 08 Jan 2014 03:12:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W0oFd-0000ca-AL for bug-gnu-emacs@gnu.org; Wed, 08 Jan 2014 03:12:35 -0500 Original-Received: from mail-wg0-x22a.google.com ([2a00:1450:400c:c00::22a]:37729) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0oFc-0000cR-VB for bug-gnu-emacs@gnu.org; Wed, 08 Jan 2014 03:12:33 -0500 Original-Received: by mail-wg0-f42.google.com with SMTP id l18so188207wgh.5 for ; Wed, 08 Jan 2014 00:12:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=2KSJEFlYojUn23MDunaN4ZvBKG78kSLzv7WpV9Ij9sE=; b=EP9a1fzYLdiBJxVwdDWkpJ6O6Qo7+TnzqmNAlu1jY8wEvHvrBaASKr/W/EZFk7lOM3 OEYsOLwRQvDg97EQLaoNqImmQZIrFxVOhThXqsanOvxOcCELjWv2eUDC1WcouW/iAIp2 /ZPRJpT0B4qNEFYmYWufvQDq0UWo/b4YYe/+48rTiVX0u5DF88ExPQae0nZTcdoShp+e GniuvgCLcBrBLxJxrULBX0hKTpGsgt0CQ31FGsaESXnyrwjjGeWKHVt5TpWyeMOsRdxF gJ8CIMeds9x58PV0MqaSf6Uk+GgK58PG19iR4fmnHJ8dp/DgfPK9g48QZmr8pJdW6ywL ZTaw== X-Received: by 10.194.78.79 with SMTP id z15mr40828519wjw.15.1389168751828; Wed, 08 Jan 2014 00:12:31 -0800 (PST) Original-Received: from choubidou.localdomain ([2a01:e35:2ef1:4540:e2b9:a5ff:fe0b:e998]) by mx.google.com with ESMTPSA id fa6sm7682386wid.1.2014.01.08.00.12.30 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Jan 2014 00:12:30 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:83169 Archived-At: --=-=-= Content-Type: text/plain; format=flowed A simple usability improvment... --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-lisp-menu-bar.el-Add-entry-for-Global-Auto-Revert-mo.patch >From e71cd3f7f52469806ab7ecd4318204a36f495576 Mon Sep 17 00:00:00 2001 From: Matthias Meulien Date: Thu, 12 Dec 2013 00:35:05 +0100 Subject: [PATCH] lisp/menu-bar.el: Add entry for Global Auto Revert mode --- lisp/menu-bar.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el index 0b69d4e..b2f5a40 100644 --- a/lisp/menu-bar.el +++ b/lisp/menu-bar.el @@ -1205,6 +1205,12 @@ mail status in mode line")) (bindings--define-key menu [cursor-separator] menu-bar-separator) + (bindings--define-key menu [global-auto-revert-mode] + (menu-bar-make-mm-toggle + global-auto-revert-mode + "Revert buffers on files changes" + "Toggle Global Auto Revert mode")) + (bindings--define-key menu [save-place] (menu-bar-make-toggle toggle-save-place-globally save-place -- 1.8.5.2 --=-=-= Content-Type: text/plain In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.6) of 2014-01-06 on choubidou Windowing system distributor `The X.Org Foundation', version 11.0.11405000 Important settings: value of $LC_COLLATE: C value of $LANG: fr_FR.utf8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Shell Minor modes in effect: diff-auto-refine-mode: t show-paren-mode: t shell-dirtrack-mode: t global-auto-complete-mode: t global-semantic-mru-bookmark-mode: t global-semanticdb-minor-mode: t global-semantic-idle-scheduler-mode: t semantic-mode: t desktop-save-mode: t auto-image-file-mode: t electric-pair-mode: t icomplete-mode: t global-auto-revert-mode: t auto-insert-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-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 input: t e r C-x k y g i t SPC c l o g SPC - 3 g i t SPC c h e c k o u t SPC m a s s t e r g i t SPC r e v b r a n c h SPC - d SPC r e v e r t M-p M-b C-b D g i t SPC c h e c k o u t SPC - d b SPC a t u a u t o - r e v e r t g i t SPC c h e c k o u t SPC d e v l m e n u g i t SPC c l o g SPC - 3 C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-n M-b C-SPC C-e M-w C-x o C-x o C-x o M-> g i t SPC c h e c k o u t SPC a u t o - r e v e r t g i SPC t SPC c h e r C-c M-r C-e SPC C-y M-b g i t SPC f o r C-c M-r C-e g i t SPC m m v SPC 0 0 ~ / P r e m p a C-x o g p o C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-x o M-x r e p o r t SPC b e m Recent messages: Trash D [2 files] (y or n) y Trashing...100% Kill buffer of 0001-lisp-progmodes-prog-mode.el-Add-custom-options-to-mo.patch, too? (y or n) y Trashing...done When done with a buffer, type C-x # Buffer `COMMIT_EDITMSG' still has clients; kill it? (y or n) y Mark set [3 times] Making completion list... Omitting... Omitted 3 lines. Quit Load-path shadows: None found. Features: (shadow sort mail-extr gnus-msg gnus-art mm-uu mml2015 epg-config mm-view mml-smime smime dig gnus-sum imenu disp-table emacsbug sendmail help-mode diff-mode add-log diary-lib diary-loaddefs semantic/bovine/make semantic/analyze semantic/sort semantic/scope semantic/analyze/fcn semantic/bovine/make-by semantic/bovine make-mode semantic/html sgml-mode semantic/tag-file semantic/db-file data-debug cedet-files semantic/wisent/python semantic/decorate/include semantic/db-find semantic/db-ref semantic/decorate/mode semantic/decorate pulse semantic/dep semantic/wisent/python-wy semantic/wisent semantic/wisent/wisent rx python sh-script smie executable mule-util time-stamp parse-time network-stream starttls url-http tls url-gw url-cache url-auth url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse auth-source password-cache url-vars mailcap avoid generic org-element org-rmail org-mhe org-irc org-info org-gnus org-docview doc-view jka-compr image-mode org-bibtex bibtex org-bbdb org-w3m dired-aux face-remap vc-dir ewoc vc vc-dispatcher vc-git flyspell reftex-dcr reftex reftex-vars goto-addr tex-mode paren warnings ob-sh shell ob-plantuml choubidou-custom cus-edit gnus-demon nntp gnus-group gnus-undo nnmail mail-source gnus-start gnus-spec gnus-win nnoo gnus-int gnus-range message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus gnus-ems nnheader gnus-util mail-utils mm-util mail-prsvr wid-edit gnus-dired dired-x dired org-capture org org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities noutline outline easy-mmode org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint ob-core ob-eval org-compat org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs dictionary link connection flymake-csslint php-mode etags cc-langs speedbar sb-image dframe sql view thingatpt flymake-jslint flymake-python-pyflakes flymake-easy flymake compile comint hideshow skeleton find-file advice help-fns whitespace auto-complete edmacro kmacro cl-macs popup cl minimap semantic/mru-bookmark ring semantic/db-mode semantic/db gv eieio-base semantic/idle semantic/format ezimage semantic/tag-ls semantic/find semantic/ctxt semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local cedet ispell desktop frameset server woman man cl-loaddefs cl-lib ansi-color image-file tar-mode saveplace elec-pair cus-start cus-load icomplete windmove autorevert filenotify autoinsert cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs generic-x Django-doc-autoloads auto-complete-autoloads color-theme-solarized-autoloads doctags-autoloads info easymenu flymake-csslint-autoloads flymake-jslint-autoloads flymake-easy-autoloads gist-autoloads finder-inf gh-autoloads eieio byte-opt bytecomp byte-compile cconv eieio-core gnuplot-autoloads graphviz-dot-mode-autoloads htmlize-autoloads logito-autoloads php-mode-autoloads popup-autoloads symbols-mode-autoloads package time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer 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 make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) --=-=-=--