1. 09 May, 2013 1 commit
    • Glenn Morris's avatar
      Fix a bunch of custom types (thank you cus-test.el) · a931698a
      Glenn Morris authored
      * lisp/bookmark.el (bookmark-search-delay):
      * lisp/cus-start.el (vertical-centering-font-regexp):
      * lisp/ps-mule.el (ps-mule-font-info-database-default):
      * lisp/ps-print.el (ps-default-fg, ps-default-bg):
      * lisp/type-break.el (type-break-good-break-interval):
      * lisp/whitespace.el (whitespace-indentation-regexp)
      (whitespace-space-after-tab-regexp):
      * lisp/emacs-lisp/testcover.el (testcover-1value-functions)
      (testcover-noreturn-functions, testcover-progn-functions)
      (testcover-prog1-functions):
      * lisp/emulation/viper-init.el (viper-emacs-state-cursor-color):
      * lisp/erc/erc-desktop-notifications.el (erc-notifications-icon):
      * lisp/eshell/em-glob.el (eshell-glob-translate-alist):
      * lisp/gnus/gnus-art.el (gnus-article-date-headers, gnus-blocked-images):
      * lisp/gnus/gnus-async.el (gnus-async-post-fetch-function):
      * lisp/gnus/gnus-gravatar.el (gnus-gravatar-size, gnus-gravatar-properties):
      * lisp/gnus/gnus-html.el (gnus-html-image-cache-ttl):
      * lisp/gnus/gnus-notifications.el (gnus-notifications-timeout):
      * lisp/gnus/gnus-picon.el (gnus-picon-properties):
      * lisp/gnus/gnus-util.el (gnus-completion-styles):
      * lisp/gnus/gnus.el (gnus-other-frame-resume-function):
      * lisp/gnus/message.el (message-user-organization-file)
      (message-cite-reply-position):
      * lisp/gnus/nnir.el (nnir-summary-line-format)
      (nnir-retrieve-headers-override-function):
      * lisp/gnus/shr-color.el (shr-color-visible-luminance-min):
      * lisp/gnus/shr.el (shr-blocked-images):
      * lisp/gnus/spam-report.el (spam-report-resend-to):
      * lisp/gnus/spam.el (spam-summary-exit-behavior):
      * lisp/mh-e/mh-e.el (mh-sortm-args, mh-default-folder-for-message-function):
      * lisp/play/tetris.el (tetris-tty-colors):
      * lisp/progmodes/cpp.el (cpp-face-default-list):
      * lisp/progmodes/flymake.el (flymake-allowed-file-name-masks):
      * lisp/progmodes/idlw-help.el (idlwave-help-browser-generic-program)
      (idlwave-help-browser-generic-args):
      * lisp/progmodes/make-mode.el (makefile-special-targets-list):
      * lisp/progmodes/python.el (python-shell-virtualenv-path):
      * lisp/progmodes/verilog-mode.el (verilog-active-low-regexp)
      (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
      (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
      (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
      * lisp/textmodes/reftex-vars.el (reftex-format-label-function):
      * lisp/textmodes/remember.el (remember-diary-file):
      Fix custom types.
      
      * lisp/cedet/semantic/db-find.el (semanticdb-find-throttle-custom-list):
      Fix value.
      
      * lisp/gnus/gnus-salt.el (gnus-selected-tree-face): Fix default.
      a931698a
  2. 19 Apr, 2013 1 commit
  3. 04 Apr, 2013 1 commit
    • Thierry Volpiatto's avatar
      * lisp/bookmark.el: Fix deletion of bookmarks. · 2575da50
      Thierry Volpiatto authored
      (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
      (bookmark-bmenu-execute-deletions): Only skip first line if it's
      the header.
      (bookmark-exit-hook-internal): Save even if list is empty.
      
      Fixes: debbugs:13972
      2575da50
  4. 07 Mar, 2013 2 commits
    • Karl Fogel's avatar
      * bookmark.el: Define a face to highlight bookmark names in · c095b770
      Karl Fogel authored
      bookmark menu buffers, where the default is a bold face similarly
      to buffer names in buffer menu buffers.  Patch by Matthias Meulien
      <orontee {_AT_} gmail.com>.
      
      (bookmark-menu-bookmark): New face to highlight bookmark names.
      (bookmark-insert-location): Removes dupplicated text property to
      conform to buffer list (see `list-buffers')
      (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
      `bookmark-menu-bookmark' to bookmark names.
      c095b770
    • Karl Fogel's avatar
      * bookmark.el: Display the bookmark list header similarly to the · 7a78e19f
      Karl Fogel authored
      buffer list header (see `list-buffers'), where the default is now
      an immovable/immutable header line.  Patch by Matthias Meulien
      <orontee {_AT_} gmail.com> with a few tweaks by me.
      
      (bookmark-bmenu-use-header-line): New variable.
      (bookmark-bmenu-inline-header-height): New name for
      `bookmark-bmenu-header-height', to avoid confusion with the code
      for the new immovable header.  All references changed.
      (bookmark-bmenu-set-header): New function.
      (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
      Conditionalize header construction accordingly.
      (bookmark-bmenu-ensure-position): Conditionalize the skipping of
      the inline header height.
      (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
      Conditionalize the skipping of the inline header height.
      7a78e19f
  5. 01 Jan, 2013 1 commit
  6. 04 Nov, 2012 1 commit
  7. 26 Oct, 2012 1 commit
  8. 02 Oct, 2012 1 commit
  9. 01 Oct, 2012 4 commits
  10. 25 Sep, 2012 1 commit
    • Chong Yidong's avatar
      Use declare forms, where possible, to mark obsolete functions. · 59f7af81
      Chong Yidong authored
      * lisp/allout.el (allout-passphrase-hint-string): Likewise.
      (allout-init): Use a declare form to mark obsolete.
      
      * lisp/calendar/calendar.el (calendar-version):
      * lisp/calendar/icalendar.el (icalendar-extract-ical-from-buffer)
      (icalendar-convert-diary-to-ical):
      * lisp/cus-edit.el (custom-mode):
      * lisp/ansi-color.el (ansi-color-unfontify-region):
      * lisp/international/latin1-disp.el (latin1-char-displayable-p):
      * lisp/progmodes/cwarn.el (turn-on-cwarn-mode):
      * lisp/progmodes/which-func.el (which-func-update-1): Use
      define-obsolete-function-alias.
      
      * lisp/bookmark.el (bookmark-jump-noselect): Use a declare form to mark
      this function obsolete.
      
      * lisp/calendar/cal-x.el (calendar-two-frame-setup)
      (calendar-only-one-frame-setup, calendar-one-frame-setup):
      * lisp/calendar/calendar.el (american-calendar, european-calendar)
      (calendar-for-loop):
      * lisp/comint.el (comint-dynamic-simple-complete)
      (comint-dynamic-complete-as-filename, comint-unquote-filename):
      * lisp/desktop.el (desktop-load-default):
      * lisp/dired-x.el (dired-omit-here-always)
      (dired-hack-local-variables, dired-default-directory):
      * lisp/emacs-lisp/derived.el (derived-mode-class):
      * lisp/emacs-lisp/timer.el (timer-set-time-with-usecs):
      * lisp/emacs-lock.el (toggle-emacs-lock):
      * lisp/epa.el (epa-display-verify-result):
      * lisp/epg.el (epg-sign-keys, epg-start-sign-keys)
      (epg-passphrase-callback-function):
      * lisp/eshell/esh-util.el (eshell-for):
      * lisp/eshell/eshell.el (eshell-remove-from-window-buffer-names)
      (eshell-add-to-window-buffer-names):
      * lisp/files.el (locate-file-completion):
      * lisp/imenu.el (imenu-example--create-c-index)
      (imenu-example--create-lisp-index)
      (imenu-example--lisp-extract-index-name)
      (imenu-example--name-and-position):
      * lisp/international/mule-cmds.el (princ-list):
      * lisp/international/mule-diag.el (decode-codepage-char):
      * lisp/international/mule-util.el (detect-coding-with-priority):
      * lisp/iswitchb.el (iswitchb-read-buffer):
      * lisp/mail/mailalias.el (mail-complete):
      * lisp/mail/sendmail.el (mail-sent-via):
      * lisp/mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
      (mouse-major-mode-menu):
      * lisp/password-cache.el (password-read-and-add):
      * lisp/pcomplete.el (pcomplete-parse-comint-arguments):
      * lisp/progmodes/sh-script.el (sh-maybe-here-document):
      * lisp/replace.el (query-replace-regexp-eval):
      * lisp/savehist.el (savehist-load):
      * lisp/simple.el (choose-completion-delete-max-match):
      * lisp/term.el (term-dynamic-simple-complete):
      * lisp/vc/ediff-init.el (ediff-check-version):
      * lisp/vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
      * lisp/vc/vc.el (vc-diff-switches-list):
      * lisp/view.el (view-return-to-alist-update): Likewise.
      
      * lisp/iswitchb.el (iswitchb-read-buffer): Move code of
      iswitchb-define-mode-map here, and delete that obsolete function.
      
      * lisp/subr.el (eval-next-after-load, makehash, insert-string)
      (assoc-ignore-representation, assoc-ignore-case): Use declare to
      mark obsolete.
      (mode-line-inverse-video): Variable deleted.
      
      * lisp/emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
      this applies to functions.
      
      * lisp/erc/erc.el (erc-send-command): Use define-obsolete-function-alias.
      
      * lisp/international/mule-util.el (string-to-sequence): Remove.
      
      * lisp/net/newst-backend.el (newsticker-cache-filename):
      * lisp/net/newst-treeview.el (newsticker-groups-filename): Fix
      incorrect obsolescence declaration.
      
      * lisp/net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
      font-lock-reference-face.
      
      * lisp/url/url-parse.el (url-recreate-url-attributes):
      * lisp/url/url-util.el (url-generate-unique-filename): Use declare to mark
      obsolete.
      
      * src/xdisp.c (mode_line_inverse_video): Delete obsolete variable.
      59f7af81
  11. 17 Sep, 2012 1 commit
    • Chong Yidong's avatar
      Update docstrings and comments to use "init file" terminology. · 865fe16f
      Chong Yidong authored
      * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
      * comint.el (comint-prompt-read-only):
      * custom.el (defcustom):
      * hi-lock.el (hi-lock-mode):
      * ibuffer.el (ibuffer-formats):
      * ielm.el (ielm-prompt-read-only):
      * novice.el (disable-command):
      * saveplace.el (toggle-save-place):
      * speedbar.el (speedbar-supported-extension-expressions):
      * startup.el (auto-save-list-file-prefix, init-file-user)
      (after-init-hook, inhibit-startup-echo-area-message):
      * strokes.el (strokes-help):
      * time-stamp.el (time-stamp):
      * calendar/calendar.el (calendar, diary-file):
      * calendar/diary-lib.el (diary-mail-entries, diary)
      (diary-list-entries-hook):
      * calendar/holidays.el (holidays, calendar-holidays):
      * calendar/lunar.el (lunar-phases):
      * calendar/solar.el (sunrise-sunset):
      * emulation/edt.el (edt-load-keys):
      * emulation/viper.el (viper-mode):
      * eshell/em-alias.el (eshell-command-aliases-list):
      * eshell/esh-util.el (eshell-convert-numeric-arguments):
      * international/ogonek.el (ogonek-information):
      * net/tramp-cmds.el (tramp-bug):
      * net/quickurl.el (quickurl-reread-hook-postfix):
      * play/decipher.el (decipher-font-lock-keywords):
      * progmodes/cc-styles.el (c-set-style):
      * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
      * progmodes/inf-lisp.el (inferior-lisp-prompt):
      * progmodes/octave-mod.el (octave-mode):
      * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
      * progmodes/verilog-mode.el (verilog-read-defines):
      * textmodes/two-column.el (2C-mode): Likewise.
      865fe16f
  12. 08 Aug, 2012 1 commit
    • Juri Linkov's avatar
      * lisp/bookmark.el: Add `defaults' property to the bookmark record. · ce0fcefa
      Juri Linkov authored
      (bookmark-current-buffer): Doc fix.
      (bookmark-make-record): Add `defaults' property with default values
      to the bookmark record.
      (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
      with `bookmark-insert-current-bookmark'.
      (bookmark-set): Get `defaults' property from the bookmark record
      and use it in `read-from-minibuffer'.
      (bookmark-insert-current-bookmark): Remove function.
      
      * lisp/info.el (Info-bookmark-make-record): Add `defaults' property
      with values of canonical Info node name, the current Info file name
      and the current Info node name.
      
      Fixes: debbugs:12107
      ce0fcefa
  13. 10 Jul, 2012 1 commit
    • Stefan Monnier's avatar
      Reduce use of (require 'cl). · f58e0fd5
      Stefan Monnier authored
      * admin/bzrmerge.el: Use cl-lib.
      * leim/quail/hangul.el: Don't require CL.
      * leim/quail/ipa.el: Use cl-lib.
      * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
      * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
      * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
      * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
      * international/quail.el, info-xref.el, imenu.el, image-mode.el:
      * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
      * battery.el, avoid.el, abbrev.el: Use cl-lib.
      * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
      * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
      * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
      * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
      * calculator.el, autorevert.el, apropos.el: Don't require CL.
      * emacs-bytecomp.el (byte-recompile-directory, display-call-tree)
      (byte-compile-unfold-bcf, byte-compile-check-variable):
      * emacs-byte-opt.el (byte-compile-trueconstp)
      (byte-compile-nilconstp):
      * emacs-autoload.el (make-autoload): Use pcase.
      * face-remap.el (text-scale-adjust): Simplify pcase patterns.
      f58e0fd5
  14. 27 Jun, 2012 1 commit
    • Stefan Monnier's avatar
      Get rid of all the manual purecopy calls in menu-bar definitions. · 1ec4b7b2
      Stefan Monnier authored
      * lisp/loadup.el (purify-flag): Pre-grow the hash-table to reduce the
      memory use.
      * lisp/bindings.el (bindings--define-key): New function.
      * lisp/vc/vc-hooks.el, lisp/replace.el, lisp/menu-bar.el:
      * lisp/international/mule-cmds.el, lisp/emacs-lisp/lisp-mode.el:
      * lisp/buff-menu.el, lisp/bookmark.el:
      * bindings.el: Use it to purecopy define-key bindings.
      * src/fns.c (maybe_resize_hash_table): Output message when growing the
      purify-hashtable.
      1ec4b7b2
  15. 13 May, 2012 1 commit
    • Stefan Monnier's avatar
      Move define-obsolete-variable-alias before the var's definition. · e5bd0a28
      Stefan Monnier authored
      * lisp/vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
      * lisp/tooltip.el (tooltip-hook):
      * lisp/textmodes/reftex-toc.el (reftex-toc-map):
      * lisp/textmodes/reftex-sel.el (reftex-select-label-map)
      (reftex-select-bib-map):
      * lisp/textmodes/reftex-index.el (reftex-index-map)
      (reftex-index-phrases-map):
      * lisp/speedbar.el (speedbar-syntax-table, speedbar-key-map):
      * lisp/progmodes/meta-mode.el (meta-mode-map):
      * lisp/novice.el (disabled-command-hook):
      * lisp/loadhist.el (unload-hook-features-list):
      * lisp/frame.el (blink-cursor):
      * lisp/files.el (find-file-not-found-hooks, write-file-hooks)
      (write-contents-hooks):
      * lisp/emulation/tpu-edt.el (GOLD-map):
      * lisp/emacs-lock.el (emacs-lock-from-exiting):
      * lisp/emacs-lisp/generic.el (generic-font-lock-defaults):
      * lisp/emacs-lisp/chart.el (chart-map):
      * lisp/dos-fns.el (register-name-alist):
      * lisp/dired-x.el (dired-omit-files-p):
      * lisp/desktop.el (desktop-enable):
      * lisp/cus-edit.el (custom-mode-hook):
      * lisp/buff-menu.el (buffer-menu-mode-hook):
      * lisp/bookmark.el (bookmark-read-annotation-text-func)
      (bookmark-exit-hooks):
      * lisp/allout.el (allout-mode-deactivate-hook)
      (allout-exposure-change-hook, allout-structure-added-hook)
      (allout-structure-deleted-hook, allout-structure-shifted-hook):
      * lisp/dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
      (dirtrack-debug): Move call to define-obsolete-variable-alias so it
      comes before the corresponding variable's definition.
      e5bd0a28
  16. 28 Feb, 2012 1 commit
  17. 11 Jan, 2012 1 commit
  18. 05 Jan, 2012 1 commit
  19. 27 Nov, 2011 1 commit
  20. 02 Sep, 2011 1 commit
    • Chong Yidong's avatar
      Remove pop-to-buffer-same-window. · c3313451
      Chong Yidong authored
      * lisp/window.el (pop-to-buffer-1, pop-to-buffer-same-window): Deleted.
      (pop-to-buffer): Change interactive spec.  Pass second argument
      directly to display-buffer.
      (display-buffer): Fix interactive spec.  Use functionp to
      distinguish between a function and a list of functions.
      
      * lisp/abbrev.el (edit-abbrevs):
      * lisp/arc-mode.el (archive-extract):
      * lisp/autoinsert.el (auto-insert):
      * lisp/bookmark.el (bookmark-bmenu-list):
      * lisp/files.el (find-file):
      * lisp/view.el (view-buffer):
      * lisp/progmodes/compile.el (compilation-goto-locus):
      * lisp/textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
      
      * lisp/org/ob-ref.el (org-babel-ref-goto-headline-id):
      * lisp/org/org.el (org-get-location, org-tree-to-indirect-buffer)
      (org-mark-ring-goto, org-refile, org-add-log-note)
      (org-revert-all-org-buffers, org-switchb)
      (org-cycle-agenda-files, org-submit-bug-report)
      (org-goto-marker-or-bmk):
      * lisp/org/org-agenda.el (org-prepare-agenda, org-agenda-switch-to):
      * lisp/org/org-capture.el (org-capture-goto-target)
      (org-capture-fill-template):
      * lisp/org/org-clock.el (org-clock-goto):
      * lisp/org/org-ctags.el (org-ctags-visit-buffer-or-file):
      * lisp/org/org-exp.el (org-export-as-org):
      * lisp/org/org-feed.el (org-feed-show-raw-feed):
      * lisp/org/org-html.el (org-export-htmlize-generate-css):
      * lisp/org/org-id.el (org-id-goto):
      * lisp/org/org-irc.el (org-irc-visit-erc):
      * lisp/org/org-mobile.el (org-mobile-apply):
      * lisp/org/org-publish.el (org-publish-org-to, org-publish-find-date):
      * lisp/org/org-remember.el (org-go-to-remember-target):
      * lisp/org/org-src.el (org-src-switch-to-buffer)
      (org-edit-fixed-width-region): Use switch-to-buffer.
      
      * lisp/org/org-compat.el (org-pop-to-buffer-same-window): Deleted.
      c3313451
  21. 14 Jul, 2011 1 commit
    • Chong Yidong's avatar
      Adapt 2011-07-05 switch-to-buffer changes to new switch-to-buffer · 8bdfa064
      Chong Yidong authored
      * lisp/bindings.el (mode-line-other-buffer):
      * lisp/bookmark.el (bookmark-bmenu-2-window):
      * lisp/bs.el (bs-cycle-next, bs-cycle-previous):
      * lisp/net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
      switch-to-buffer.
      
      * lisp/net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
      Deleted.
      8bdfa064
  22. 05 Jul, 2011 1 commit
    • Stefan Monnier's avatar
      Fix some uses of switch-to-buffer. · 2dcdbdd9
      Stefan Monnier authored
      * lisp/progmodes/compile.el (compilation-goto-locus):
      * lisp/net/tramp-cmds.el (tramp-append-tramp-buffers):
      * lisp/bs.el (bs-cycle-next, bs-cycle-previous):
      * lisp/bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
      * lisp/bindings.el (mode-line-other-buffer):
      * lisp/autoinsert.el (auto-insert):
      * lisp/arc-mode.el (archive-extract):
      * lisp/abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
      2dcdbdd9
  23. 10 May, 2011 1 commit
  24. 06 Mar, 2011 1 commit
    • Juanma Barranquero's avatar
      * lisp/bookmark.el: · 845fc5e5
      Juanma Barranquero authored
      * lisp/desktop.el:
      * lisp/emacs-lock.el:
      * lisp/ps-print.el:
      * lisp/saveplace.el:
      * lisp/net/tramp-cache.el:
      * lisp/textmodes/reftex.el:
      * lisp/org/org-id.el: Don't set `kill-emacs-hook' on noninteractive sessions.
      
      Fixes: debbugs:8137
      845fc5e5
  25. 10 Feb, 2011 1 commit
    • Stefan Monnier's avatar
      Move keymap initialization into declaration. · b016851c
      Stefan Monnier authored
      * lisp/textmodes/enriched.el (enriched-mode-map):
      * lisp/textmodes/bib-mode.el (bib-mode-map):
      * lisp/term/lk201.el (lk201-function-map):
      * lisp/tar-mode.el (tar-mode-map):
      * lisp/replace.el (occur-mode-map):
      * lisp/progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
      * lisp/progmodes/idlw-help.el (idlwave-help-mode-map):
      * lisp/progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
      * lisp/play/solitaire.el (solitaire-mode-map):
      * lisp/play/snake.el (snake-mode-map, snake-null-map):
      * lisp/play/pong.el (pong-mode-map):
      * lisp/play/handwrite.el (menu-bar-handwrite-map):
      * lisp/play/gametree.el (gametree-mode-map):
      * lisp/net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map
      (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
      * lisp/net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
      (newsticker--url-keymap):
      * lisp/net/net-utils.el (nslookup-mode-map, ftp-mode-map):
      * lisp/menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
      (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
      (menu-bar-edit-menu, menu-bar-custom-menu)
      (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
      (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
      (menu-bar-line-wrapping-menu, menu-bar-options-menu)
      (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
      (menu-bar-tools-menu, menu-bar-describe-menu)
      (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
      (menu-bar-help-menu):
      * lisp/mail/rmailsum.el (rmail-summary-mode-map):
      * lisp/kmacro.el (kmacro-step-edit-map):
      * lisp/ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
      (ibuffer-mode-operate-map):
      * lisp/hi-lock.el (hi-lock-menu, hi-lock-map):
      * lisp/emulation/vip.el (vip-mode-map):
      * lisp/emacs-lisp/re-builder.el (reb-lisp-mode-map):
      * lisp/bookmark.el (bookmark-bmenu-mode-map):
      * lisp/help-mode.el (help-mode-map):
      * lisp/erc/erc-list.el (erc-list-menu-mode-map):
      * lisp/org/org-remember.el (org-remember-mode-map):
      * lisp/org/org-src.el (org-src-mode-map): Move initialization into declaration.
      b016851c
  26. 01 Feb, 2011 1 commit
    • Sam Steingold's avatar
      * lisp/simple.el (special-mode-map): Bind "h" to `describe-mode'; · abef340a
      Sam Steingold authored
      bind "z" to `kill-this-buffer'.
      (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
      * lisp/apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
      (apropos-mode): Inherit from `special-mode'.
      * lisp/arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
      * lisp/bookmark.el (bookmark-bmenu-mode): Define using
      `define-derived-mode' inheriting from `special-mode'.
      * lisp/dired.el (dired-mode-map): Inherit from `special-mode-map'.
      * lisp/image-mode.el (image-mode-map): Ditto.
      * lisp/replace.el (occur-mode): Define using
      `define-derived-mode' inheriting from `special-mode'.
      * lisp/tar-mode.el (tar-mode): Inherit from `special-mode'.
      * lisp/calendar/diary-lib.el (diary-fancy-display-mode):
      Inherit from `special-mode-map'.
      * lisp/emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
      Inherit from `special-mode'.
      * lisp/emacs-lisp/package.el (package-menu-mode-map): Copy from
      `special-mode-map'.
      (package-menu-mode): Define using `define-derived-mode'
      inheriting from `special-mode'.
      * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
      * lisp/net/xesam.el (xesam-mode): Inherit from `special-mode'.
      (xesam-mode-map): Define separately.
      * lisp/play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
      * lisp/progmodes/compile.el (compilation-minor-mode-map)
      (compilation-mode-map): Inherit from `special-mode-map'.
      * lisp/vc/diff-mode.el (diff-mode-shared-map):
      Inherit from `special-mode-map'.
      * lisp/vc/log-view.el (log-view-mode-map): Add a comment.
      abef340a
  27. 26 Jan, 2011 1 commit
  28. 25 Jan, 2011 1 commit
  29. 16 Jan, 2011 1 commit
  30. 02 Jan, 2011 1 commit
  31. 12 Dec, 2010 1 commit
  32. 08 Dec, 2010 1 commit
    • Karl Fogel's avatar
      Adjust parameter names and doc strings to resolve confusion over · eff37c5e
      Karl Fogel authored
      whether "bookmark" meant a bookmark name or a bookmark record.
      Along the way, shorten one function's name for similar reasons.
      
      (Issue #7548)
      
      * lisp/bookmark.el
        (bookmark-name-from-record):
          New name for `bookmark-name-from-full-record'.  All callers changed.
        (bookmark-get-bookmark, bookmark-get-bookmark-record,
         bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set,
         bookmark-get-annotation, bookmark-set-annotation,
         bookmark-get-filename, bookmark-set-filename,
         bookmark-get-position, bookmark-set-position,
         bookmark-get-front-context-string, bookmark-set-front-context-string,
         bookmark-get-rear-context-string, bookmark-set-rear-context-string,
         bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via,
         bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
          Rename `bookmark' parameter to `bookmark-name-or-record', to
          clearly show its role, and shorten or adjust doc strings accordingly.
        (bookmark-set-name):
          Same, and pass the parameter directly to `bookmark-get-bookmark'
          instead of redundantly doing the callee's work.
        (bookmark-default-annotation-text, bookmark-send-edited-annotation,
         bookmark-relocate, bookmark-insert-location, bookmark-insert,
         bookmark-delete):
          Rename `bookmark' parameter to `bookmark-name', and in some cases
          shorten doc string accordingly.
        (bookmark-rename):
          Change `old' and `new' parameters to `old-name'
          and `new-name', and adjust an internal variable to avoid confusion.
        (bookmark-jump, bookmark-jump-noselect):
          Clarify `bookmark' parameter in doc string.
      eff37c5e
  33. 06 Nov, 2010 1 commit
    • Glenn Morris's avatar
      Use line-end-position rather than end-of-line, etc. · 5ed619e0
      Glenn Morris authored
      * textmodes/texnfo-upd.el (texinfo-start-menu-description)
      (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
      (texinfo-delete-existing-pointers, texinfo-find-pointer)
      (texinfo-clean-up-node-line, texinfo-insert-node-lines)
      (texinfo-multiple-files-update):
      * textmodes/table.el (table--probe-cell-left-up)
      (table--probe-cell-right-bottom):
      * textmodes/picture.el (picture-tab-search):
      * textmodes/page-ext.el (pages-copy-header-and-position)
      (pages-directory-for-addresses):
      * progmodes/vera-mode.el (vera-get-offset):
      * progmodes/simula.el (simula-calculate-indent):
      * progmodes/python.el (python-pdbtrack-overlay-arrow):
      * progmodes/prolog.el (end-of-prolog-clause):
      * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
      * progmodes/icon.el (indent-icon-exp):
      * progmodes/etags.el (tag-re-match-p):
      * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
      * progmodes/ebnf2ps.el (ebnf-begin-file):
      * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
      (dcl-save-local-variable):
      * play/life.el (life-setup):
      * play/gametree.el (gametree-looking-at-ply):
      * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
      * mail/sendmail.el (mail-mode-auto-fill):
      * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
      * emacs-lisp/edebug.el (edebug-overlay-arrow):
      * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
      * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
      (woman-tab-to-tab-stop, WoMan-warn-ignored):
      * type-break.el (type-break-file-keystroke-count):
      * term.el (term-replace-by-expanded-history-before-point)
      (term-skip-prompt, term-extract-string):
      * speedbar.el (speedbar-edit-line, speedbar-expand-line)
      (speedbar-contract-line, speedbar-toggle-line-expansion)
      (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
      (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
      * sort.el (sort-skip-fields):
      * skeleton.el (skeleton-internal-list):
      * simple.el (line-move-finish, line-move-to-column):
      * shell.el (shell-forward-command):
      * misc.el (copy-from-above-command):
      * makesum.el (double-column):
      * ebuff-menu.el (electric-buffer-update-highlight):
      * dired.el (dired-move-to-end-of-filename):
      * dframe.el (dframe-popup-kludge):
      * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
      * arc-mode.el (archive-get-lineno):
      Use line-end-position and line-beginning-position.
      
      * net/ange-ftp.el, progmodes/hideif.el, reposition.el:
      Same, but only in comments.
      5ed619e0
  34. 14 Jul, 2010 3 commits
    • Karl Fogel's avatar
      * lisp/bookmark.el (bookmark-load-hook): Fix doc string as suggested · 077e0753
      Karl Fogel authored
        by Drew Adams (Bug#5504).
      077e0753
    • Thierry Volpiatto's avatar
      Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975). · 8f2eaa8a
      Thierry Volpiatto authored
      * lisp/bookmark.el (bookmark-set): Don't set `bookmark-yank-point' and
        `bookmark-current-buffer' if they have been already set in another
        buffer (e.g gnus-art).
      
      * lisp/gnus/gnus-sum.el (gnus-summary-bookmark-make-record): Set
        `bookmark-yank-point' and `bookmark-current-buffer' to allow C-w.
      8f2eaa8a
    • Karl Fogel's avatar
      Preparation for setting bookmarks in Gnus article buffers (Bug#5975). · e44fa724
      Karl Fogel authored
      * lisp/bookmark.el (bookmark-make-record-default): Allow unneeded
        information to be omitted from the record.
      
      Adjust declarations and calls:
      
      * lisp/info.el (bookmark-make-record-default): Adjust declaration.
        (Info-bookmark-make-record): Adjust call.
      
      * lisp/woman.el (bookmark-make-record-default): Adjust declaration.
        (woman-bookmark-make-record): Adjust call.
      
      * lisp/man.el (bookmark-make-record-default): Adjust declaration.
        (Man-bookmark-make-record): Adjust call.
      
      * lisp/image-mode.el (bookmark-make-record-default): Adjust declaration.
      
      * lisp/doc-view.el (bookmark-make-record-default): Adjust declaration.
      
      * lisp/gnus/gnus-sum.el (bookmark-make-record-default): Adjust declaration.
      e44fa724