1. 29 Aug, 2014 1 commit
  2. 08 Jul, 2014 1 commit
  3. 08 Jun, 2014 1 commit
    • Glenn Morris's avatar
      Small doc updates re initial-buffer-choice · 6d069b1b
      Glenn Morris authored
      * doc/emacs/entering.texi (Entering Emacs): Small fix re initial-buffer-choice.
      
      * doc/emacs/misc.texi (emacsclient Options): Copyedit.
      
      * doc/lispref/os.texi (Startup Summary): Small fix for initial-buffer-choice.
      
      * lisp/startup.el (initial-buffer-choice): Doc fix.
      Reset :version (adding an option does not merit a :version bump).
      6d069b1b
  4. 06 Jun, 2014 1 commit
    • Glenn Morris's avatar
      Doc updates re window-setup-hook · b8379803
      Glenn Morris authored
      * lisp/startup.el (window-setup-hook): Doc fix.
      
      * doc/lispref/display.texi (Window Systems): Remove window-setup-hook.
      
      * doc/lispref/os.texi (Startup Summary, Init File):
      Improve description of window-setup-hook.
      (Terminal-Specific): Update window-setup-hook cross-reference.
      
      * doc/lispref/hooks.texi (Standard Hooks):
      Update window-setup-hook cross-reference.
      b8379803
  5. 18 Mar, 2014 1 commit
  6. 26 Feb, 2014 2 commits
  7. 25 Feb, 2014 1 commit
    • Glenn Morris's avatar
      Doc updates related to tty-setup-hook · 98bd6b32
      Glenn Morris authored
      * doc/emacs/custom.texi (Terminal Init):
      Replace term-setup-hook with tty-setup-hook.
      
      * doc/lispref/display.texi (Window Systems):
      * doc/lispref/hooks.texi (Standard Hooks):
      Replace term-setup-hook with tty-setup-hook.
      
      * doc/lispref/os.texi (Startup Summary, Init File, Terminal-Specific):
      Replace term-setup-hook with tty-setup-hook, and update.
      
      * doc/misc/edt.texi (Quick start, Starting emulation):
      * doc/misc/efaq.texi (Fullscreen mode on MS-Windows)
      (Terminal setup code works after Emacs has begun): Update hook details.
      
      * doc/misc/vip.texi (Loading VIP): Fix hook example.
      
      * lisp/faces.el (tty-setup-hook, tty-run-terminal-initialization): Doc fixes.
      
      * lisp/startup.el (term-setup-hook): Doc fix.  Make obsolete.
      
      * lisp/emulation/edt.el: Comment update.
      
      * lisp/term/sun.el (sun-raw-prefix-hooks):
      Use tty-setup-hook instead of term-setup-hook.
      (terminal-init-sun): Construct message from bytecomp plist.
      
      * lisp/term/wyse50.el (enable-arrow-keys): Doc fix.
      
      * etc/refcards/vipcard.tex: Hook fix.
      
      * etc/NEWS: Related edit.
      98bd6b32
  8. 10 Feb, 2014 1 commit
  9. 31 Jan, 2014 1 commit
    • Darren Hoo's avatar
      Fix for fancy-splash image inconsistency · 0a25002d
      Darren Hoo authored
      * lisp/startup.el (fancy-splash-image-file): New function,
      split from fancy-splash-head.
      (fancy-splash-head, use-fancy-splash-screens-p): Use it,
      so that we are both using the same image.
      
      Fixes: debbugs:16574
      0a25002d
  10. 01 Jan, 2014 1 commit
  11. 17 Dec, 2013 1 commit
    • Juri Linkov's avatar
      * lisp/menu-bar.el (menu-bar-tools-menu): Add `browse-web'. · 7a409b30
      Juri Linkov authored
      * lisp/startup.el (fancy-startup-screen, fancy-about-screen):
      Set browse-url-browser-function to eww-browse-url locally.
      (Bug#14751)
      
      * lisp/net/browse-url.el (browse-url-browser-function): Move `eww'
      closer to similar functions.
      
      * lisp/net/eww.el (browse-web): Add alias to `eww'.
      (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
      Bind "S-SPC" to `scroll-down-command'.  (Bug#16178)
      7a409b30
  12. 09 Dec, 2013 1 commit
  13. 01 Dec, 2013 1 commit
  14. 30 Nov, 2013 1 commit
  15. 27 Nov, 2013 1 commit
    • Glenn Morris's avatar
      Move runtime leim lisp files to lisp/leim directory · cb6c95a3
      Glenn Morris authored
      This allows us to reuse much of the lisp build and installation machinery,
      rather than duplicating it.
      
      * Makefile.in (abs_builddir, leimdir): Remove.
      (buildlisppath, SUBDIR, COPYDIR, COPYDESTS): No more leim directory.
      (epaths-force-w32): No longer set BLD.
      (leim): Remove.
      (install-arch-indep): No longer run or install leim.
      (mostlyclean, clean): No longer run leim rule.
      (bootstrap-clean): Change leim target.
      (maintainer-clean): Add leim.
      (check-declare): Remove leim.
      
      * README: Update for leim changes.
      
      * configure.ac (leimdir): Remove.
      (standardlisppath): No more leimdir.
      
      * make-dist: Update for files from leim/ now being in lisp/leim/.
      
      * doc/lispref/loading.texi (Library Search):
      * doc/lispref/os.texi (Startup Summary): No more leim directory.
      
      * leim/Makefile.in (leimdir): New variable.
      (TIT_GB, TIT_BIG5, MISC, changed.tit, changed.misc)
      (${leimdir}/leim-list.el, ${leimdir}/ja-dic/ja-dic.el):
      Generate in $leimdir.
      (all): Remove compilation, add ja-dic.
      (leim-list.el): Now PHONY.
      (setwins, compile-targets, compile-main, clean, mostlyclean)
      (extraclean): Remove.
      (bootstrap-clean): Delete all generated files.
      
      * leim/README: Update for moved leim/ directory.
      
      * leim/leim-ext.el (ucs-input-activate, hangul-input-method-activate):
      Remove manual autoloads; now in loaddefs.el.
      Disable byte-compile, version-control, autoloads in the output.
      
      * lisp/Makefile.in (setwins_for_subdirs): Skip leim/ directory.
      (compile-main): Depend on lisp/leim rule.
      (leim): New rule.
      
      * lisp/loadup.el: Move leim-list.el to leim/ subdirectory.
      
      * lisp/startup.el (normal-top-level): No more leim directory.
      
      * lisp/international/ja-dic-cnv.el (skkdic-convert):
      Disable version-control and autoloads in output files.
      * lisp/international/titdic-cnv.el (titdic-convert, miscdic-convert):
      Disable version-control and autoloads in output files.
      
      * lisp/leim/quail: Move here from ../leim.
      
      * lisp/leim/quail/hangul.el (hangul-input-method-activate):
      Add autoload cookie.
      (generated-autoload-load-name): Set file-local value.
      
      * lisp/leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
      (generated-autoload-load-name): Set file-local value.
      
      * nt/README.W32:
      * nt/addpm.c (env_vars):
      * nt/epaths.nt (PATH_LOADSEARCH, PATH_DUMPLOADSEARCH):
      * nt/paths.h (PATH_LOADSEARCH): No more leim directory.
      
      * src/Makefile.in (leimdir): Now in lisp source directory.
      ($(leimdir)/leim-list.el): Just use ../leim .
      
      * src/epaths.in (PATH_DUMPLOADSEARCH):
      
      * src/lread.c (load_path_default):
      
      * src/nsterm.m (ns_load_path): No more leim directory.
      
      * .bzrignore: Update for relocated leim files.
      cb6c95a3
  16. 26 Nov, 2013 1 commit
    • Glenn Morris's avatar
      Preload leim-list.el · 624780f0
      Glenn Morris authored
      * Makefile.in (abs_builddir): New, set by configure.
      (buildlisppath): Add leim/.
      (epaths-force-w32): Set BLD.
      
      * lisp/loadup.el: Load leim-list.el when found.
      
      * lisp/startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
      
      * nt/epaths.nt (PATH_DUMPLOADSEARCH): Add leim/.
      
      * src/callproc.c (init_callproc): Don't assume PATH_DUMPLOADSEARCH
      is a single directory.
      
      * src/epaths.in (PATH_DUMPLOADSEARCH): Add leim/.
      
      Fixes: debbugs:4789
      624780f0
  17. 21 Nov, 2013 1 commit
    • Glenn Morris's avatar
      Use path-separator with -L, rather than just : · 2df10228
      Glenn Morris authored
      * lisp/startup.el (command-line-1): Use path-separator with -L.
      
      * test/automated/Makefile.in (PATH_SEPARATOR): New, set by configure.
      (EMACSOPT): Use PATH_SEPARATOR.
      
      * doc/emacs/cmdargs.texi (Action Arguments): Use path-separator with -L.
      
      * etc/NEWS: Related edit.
      2df10228
  18. 05 Nov, 2013 1 commit
  19. 04 Nov, 2013 2 commits
    • Eli Zaretskii's avatar
      Fix bug #15260 with building and installing Emacs in non-ASCII directories. · d0065ff1
      Eli Zaretskii authored
       src/xdisp.c (message3_nolog, message_with_string): Encode the string
       before writing it to the terminal in a non-interactive session.
       src/lread.c (openp): If both FILENAME and SUFFIX are unibyte, make
       sure we concatenate them into a unibyte string.
       src/fileio.c (make_temp_name): Encode PREFIX, and decode the
       resulting temporary name before returning it to the caller.
       (Fexpand_file_name): If NAME is pure-ASCII and DEFAULT_DIRECTORY
       is a unibyte string, convert NAME to a unibyte string to ensure
       that the result is also a unibyte string.
       src/emacs.c (init_cmdargs): Use build_unibyte_string to make sure we
       create unibyte strings from default paths and directory/file
       names.
       src/coding.h (ENCODE_FILE): Do not attempt to encode a unibyte
       string.
       src/callproc.c (init_callproc): Use build_unibyte_string to make
       sure we create unibyte strings from default paths and
       directory/file names.
       src/buffer.c (init_buffer): Don't store default-directory of
       *scratch* in multibyte form.  The original problem which led to
       that is described in
       http://lists.gnu.org/archive/html/emacs-pretest-bug/2004-11/msg00532.html,
       but it was solved long ago.
      
       lisp/startup.el (normal-top-level): Move setting eol-mnemonic-unix,
       eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
       environment and decoding all of the default-directory's to here
       from command-line.
       (command-line): Decode also argv[0].
       lisp/loadup.el: Error out if default-directory is a multibyte string
       when we are dumping.
       lisp/Makefile.in (emacs): Don't set LC_ALL=C.
      
       leim/Makefile.in (RUN_EMACS): Don't set LC_ALL=C.
      
       configure.ac: Don't disallow builds in non-ASCII directories.
      d0065ff1
    • Glenn Morris's avatar
      * lisp/startup.el (command-line-1): Allow `-L :...' to append to load-path. · a0833f62
      Glenn Morris authored
      * doc/emacs/cmdargs.texi (Action Arguments): Mention that `-L :...' appends.
      
      * etc/NEWS: Mention this.
      a0833f62
  20. 02 Nov, 2013 1 commit
  21. 30 Oct, 2013 1 commit
    • Stefan Monnier's avatar
      Cleanup namespace of dos-w32.el. · ae4002ce
      Stefan Monnier authored
      * lisp/dos-w32.el (minibuffer-history-case-insensitive-variables)
      (path-separator, null-device, buffer-file-coding-system)
      (lpr-headers-switches): Check system-type before modifying them.
      (find-buffer-file-type-coding-system): Mark obsolete.
      (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
      find-file-not-found-set-buffer-file-coding-system.
      (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
      (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
      (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
      (w32-direct-print-region-helper, w32-direct-print-region-function)
      (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
      * lisp/startup.el (normal-top-level-add-subdirs-to-load-path):
      * lisp/ps-print.el (ps-print-region-function):
      * lisp/lpr.el (print-region-function): Use new name.
      
      * lisp/simple.el (copy-region-as-kill): Fix call to region-extract-function.
      
      * lisp/emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
      (byte-compile-and-folded): New function.
      (=, <, >, <=, >=): Use it.
      ae4002ce
  22. 20 Oct, 2013 1 commit
  23. 17 Sep, 2013 1 commit
    • Glenn Morris's avatar
      Add a major-mode for the *Messages* buffer · 90582f05
      Glenn Morris authored
      Ref: http://lists.gnu.org/archive/html/emacs-devel/2010-02/msg00135.html
      
      * lisp/simple.el (messages-buffer-mode): New major mode.
      (messages-buffer): New function.
      
      * lisp/startup.el (normal-top-level): Switch mode of *Messages* buffer.
      
      * src/xdisp.c (message_dolog): If we create *Messages*,
      switch it to messages-buffer-mode.
      
      * lisp/emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
      (ert-run-test): Use `message-buffer' function.
      (ert--force-message-log-buffer-truncation): Ignore read-only.
      
      * lisp/help.el (view-echo-area-messages): Use `message-buffer' function.
      
      * lisp/mail/emacsbug.el (report-emacs-bug): Use `message-buffer' function.
      
      * lisp/gnus/gnus-util.el (gnus-message-with-timestamp-1):
      Use `message-buffer' function if available.  Ignore read-only.
      
      * etc/NEWS: Mention this.
      90582f05
  24. 05 Aug, 2013 1 commit
    • Dmitry Antipov's avatar
      Do not call to `selected-window' where it is assumed by default. · 290d5b58
      Dmitry Antipov authored
      Affected functions are `window-minibuffer-p', `window-dedicated-p',
      `window-hscroll', `window-width', `window-height', `window-buffer',
      `window-frame', `window-start', `window-point', `next-window'
      and `window-display-table'.
      * abbrev.el (abbrev--default-expand):
      * bs.el (bs--show-with-configuration):
      * buff-menu.el (Buffer-menu-mouse-select):
      * calc/calc.el (calc):
      * calendar/calendar.el (calendar-generate-window):
      * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
      (diary-make-entry):
      * comint.el (send-invisible, comint-dynamic-complete-filename)
      (comint-dynamic-simple-complete, comint-dynamic-list-completions):
      * completion.el (complete):
      * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
      * disp-table.el (describe-current-display-table):
      * doc-view.el (doc-view-insert-image):
      * ebuff-menu.el (Electric-buffer-menu-mouse-select):
      * ehelp.el (with-electric-help):
      * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
      * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
      * emacs-lisp/helper.el (Helper-help-scroller):
      * emulation/cua-base.el (cua--post-command-handler-1):
      * eshell/esh-mode.el (eshell-output-filter):
      * ffap.el (ffap-gnus-wrapper):
      * help-macro.el (make-help-screen):
      * hilit-chg.el (highlight-compare-buffers):
      * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
      * hl-line.el (global-hl-line-highlight):
      * icomplete.el (icomplete-simple-completing-p):
      * isearch.el (isearch-done):
      * jit-lock.el (jit-lock-stealth-fontify):
      * mail/rmailsum.el (rmail-summary-scroll-msg-up):
      * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
      * mpc.el (mpc-tagbrowser, mpc):
      * net/rcirc.el (rcirc-any-buffer):
      * play/gomoku.el (gomoku-max-width, gomoku-max-height):
      * play/landmark.el (landmark-max-width, landmark-max-height):
      * play/zone.el (zone):
      * progmodes/compile.el (compilation-goto-locus):
      * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
      * progmodes/etags.el (find-tag-other-window):
      * progmodes/fortran.el (fortran-column-ruler):
      * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
      * progmodes/verilog-mode.el (verilog-point-text):
      * reposition.el (reposition-window):
      * rot13.el (toggle-rot13-mode):
      * server.el (server-switch-buffer):
      * shell.el (shell-dynamic-complete-command)
      (shell-dynamic-complete-environment-variable):
      * simple.el (insert-buffer, set-selective-display)
      (delete-completion-window):
      * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
      (speedbar-recenter):
      * startup.el (fancy-splash-head):
      * textmodes/ispell.el (ispell-command-loop):
      * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
      * tutorial.el (help-with-tutorial):
      * vc/add-log.el (add-change-log-entry):
      * vc/compare-w.el (compare-windows):
      * vc/ediff-help.el (ediff-indent-help-message):
      * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
      * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
      (ediff-setup-control-frame):
      * vc/emerge.el (emerge-position-region):
      * vc/pcvs-util.el (cvs-bury-buffer):
      * window.el (walk-windows, mouse-autoselect-window-select):
      * winner.el (winner-set-conf, winner-undo): Related users changed.
      290d5b58
  25. 30 Jun, 2013 1 commit
    • Michal Nazarewicz's avatar
      Add `remember-notes' function to store random notes across Emacs · ef099a94
      Michal Nazarewicz authored
      restarts.
      * remember.el (remember-data-file): Add :set callback to affect
      notes buffer (if any).
      (remember-notes): New command.
      (remember-notes-buffer-name, bury-remember-notes-on-kill):
      New defcustoms for the `remember-notes' function.
      (remember-notes-save-and-bury-buffer): New command.
      (remember-notes-mode-map): New variable.
      (remember-mode): New minor mode.
      (remember-notes--kill-buffer-query): New function.
      * lisp/startup.el (initial-buffer-choice): Add notes to custom type.
      * src/buffer.c (FKill_buffer): Run `kill-buffer-query-functions'
      before checking whether buffer is modified.  This lets
      `kill-buffer-query-functions' cancel killing of the buffer or save
      its content before `kill-buffer' asks user the "Buffer %s
      modified; kill anyway?" question.
      
      * remember.el (remember-append-to-file):
      Don't mix `find-buffer-visiting' and `get-file-buffer'.
      
      * lisp/files.el (find-file-noselect): Simplify conditional expression.
      ef099a94
  26. 17 Jun, 2013 1 commit
  27. 15 Jun, 2013 1 commit
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/package.el: Don't activate packages older than builtin. · 66bd25ab
      Stefan Monnier authored
      (package-obsolete-list): Rename from package-obsolete-alist, and make
      it into a simple list of package-desc.
      (package-strip-version): Remove.
      (package-built-in-p): Use package--builtin-versions.
      (package-mark-obsolete): Simplify.
      (package-process-define-package): Mark it obsolete if older than the
      builtin version.
      (package-handle-response): Use line-end-position.
      (package-read-archive-contents, package--download-one-archive):
      Simplify.
      (package--add-to-archive-contents): Skip if older than the builtin or
      installed version.
      (package-menu-describe-package): Fix last change.
      (package-list-unversioned): New var.
      (package-menu--generate): Use it.
      
      * lisp/Makefile.in (autoloads): Set autoload-builtin-package-versions.
      
      * lisp/startup.el (package--builtin-versions): New var.
      (package-subdirectory-regexp): Remove.
      (package--description-file): Hard code its value instead.
      
      * lisp/emacs-lisp/autoload.el: Manage package--builtin-versions.
      (autoload--insert-text, autoload--insert-cookie-text): New functions.
      (autoload-builtin-package-versions): New variable.
      (autoload-generate-file-autoloads): Use them.
      Remove the list of autoloaded functions/macros from the
      (autoload...) comments.
      66bd25ab
  28. 14 Jun, 2013 1 commit
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more. · 1b8dff23
      Stefan Monnier authored
      (package-desc): Add `dir' field.
      (package-desc-full-name): New function.
      (package-load-descriptor): Combine the two arguments.  Don't use `load'.
      (package-maybe-load-descriptor): Remove.
      (package-load-all-descriptors): Just call package-load-descriptor.
      (package--disabled-p): New function.
      (package-desc-vers, package-desc-doc): Remove aliases.
      (package--dir): Remove function.
      (package-activate): Check if a package is disabled.
      (package-process-define-package): New function, extracted from
      define-package.
      (define-package): Turn into a place holder.
      (package-unpack-single, package-tar-file-info):
      Use package--description-file.
      (package-compute-transaction): Use package--disabled-p.
      (package-download-transaction): Don't call
      package-maybe-load-descriptor since they're all loaded anyway.
      (package-install): Change argument to be a pkg-desc.
      (package-delete): Use a single pkg-desc argument.
      (describe-package-1): Use package-desc-dir instead of package--dir.
      Use package-desc property instead of package-symbol.
      (package-install-button-action): Adjust accordingly.
      (package--push): Rewrite.
      (package-menu--print-info): Adjust accordingly.  Change the ID format
      to be a pkg-desc.
      (package-menu-describe-package, package-menu-get-status)
      (package-menu--find-upgrades, package-menu-mark-upgrades)
      (package-menu-execute, package-menu--name-predicate):
      Adjust accordingly.
      * lisp/startup.el (package--description-file): New function.
      (command-line): Use it.
      * lisp/emacs-lisp/package-x.el (package-upload-buffer-internal):
      Use package-desc-version.
      1b8dff23
  29. 13 Jun, 2013 1 commit
  30. 23 Apr, 2013 1 commit
    • Glenn Morris's avatar
      Remove some code duplication in startup.el · b46a056e
      Glenn Morris authored
      "If keys have their default meanings, use precomputed string to save
      lots of time" implies substitute-command-keys was slow 20+ years ago
      when this was originally written.  But we were accidentally using the
      "slow" branch for 5 years and no-one complained about speed (bug#13970).
      
      * lisp/startup.el (normal-no-mouse-startup-screen, normal-about-screen):
      Remove venerable code attempting to avoid substitute-command-keys.
      b46a056e
  31. 21 Apr, 2013 1 commit
  32. 16 Mar, 2013 1 commit
  33. 12 Feb, 2013 1 commit
    • Glenn Morris's avatar
      Make S-SPC scroll in the opposite direction to SPC · 958614cf
      Glenn Morris authored
      * lisp/calc/calc-graph.el (calc-graph-show-dumb):
      * lisp/calendar/calendar.el (calendar-mode-map):
      * lisp/cus-edit.el (custom-mode-map):
      * lisp/ehelp.el (electric-help-map):
      * lisp/emulation/vip.el (vip-mode-map):
      * lisp/epa.el (epa-key-list-mode-map):
      * lisp/info.el (Info-mode-map):
      * lisp/mail/rmail.el (rmail-mode-map):
      * lisp/mail/rmailsum.el (rmail-summary-mode-map):
      * lisp/man.el (Man-mode-map):
      * lisp/net/newst-plainview.el (newsticker-mode-map):
      * lisp/progmodes/cpp.el (cpp-edit-mode-map):
      * lisp/progmodes/grep.el (grep-mode-map):
      * lisp/progmodes/idlw-help.el (idlwave-help-mode-map):
      * lisp/simple.el (special-mode-map):
      * lisp/startup.el (splash-screen-keymap):
      * lisp/view.el (view-mode-map):
      Make S-SPC scroll in the opposite sense to SPC.
      
      Fixes: debbugs:2145
      958614cf
  34. 06 Feb, 2013 1 commit
  35. 01 Jan, 2013 1 commit
  36. 24 Dec, 2012 1 commit
  37. 01 Dec, 2012 2 commits