aboutsummaryrefslogtreecommitdiffstats
path: root/etc (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | * etc/NEWS: Fix js-jsx-mode entry punctuationJackson Ray Hamilton2015-10-311-1/+1
| |
* | Add JSX indentation via js-jsx-mode. (Bug#21799)Jackson Ray Hamilton2015-10-311-0/+3
|/ | | | | | * progmodes/js.el: Add JSX indentation support. (js-jsx-indent-line) (js-jsx-mode): New functions.
* * etc/tutorials/TUTORIAL.translators: Fix PL namesPrzemysław Wojnowski2015-10-301-3/+3
|
* Add more faces for Gnus and ivyTassilo Horn2015-10-301-4/+10
| | | | | * etc/themes/tsdh-dark-theme.el (tsdh-dark): add more faces for Gnus and ivy.
* Describe known problems with pinning Emacs to taskbarEli Zaretskii2015-10-301-0/+30
| | | | | | * etc/PROBLEMS: Describe the problem with pinning Emacs to taskbar on Windows 10. For the details, see the discussion starting at http://lists.gnu.org/archive/html/help-emacs-windows/2015-09/msg00000.html.
* Add RefTeX feature idea: editing RefTeX TOC buffersTassilo Horn2015-10-301-0/+9
|
* More face defs for ivy, swiper, ace-window, eshellTassilo Horn2015-10-301-3/+10
|
* Add "afp" method to TrampMichael Albinus2015-10-291-0/+4
| | | | | | | | | | | | * doc/misc/tramp.texi (GVFS based methods): Describe `afp' method. * lisp/net/tramp-gvfs.el (tramp-gvfs-methods): Add "afp" method. (tramp-gvfs-handle-expand-file-name) (tramp-gvfs-handler-mounted-unmounted) (tramp-gvfs-connection-mounted-p, tramp-gvfs-mount-spec) (tramp-gvfs-maybe-open-connection): Support also "afp". (tramp-gvfs-handle-file-attributes): Handle the case of empty "owner::user" and "owner::group" entries.
* Don't require default-directory to end with a slashDmitry Gutov2015-10-291-0/+5
| | | | | | | | | | | | | | * doc/lispref/files.texi (Magic File Names): Document the change in unhandled-file-name-directory. * lisp/url/url-handlers.el (url-handler-unhandled-file-name-directory): Update accordingly. * src/buffer.c (default-directory): Update the docsting. * src/fileio.c (unhandled-file-name-directory): Default to calling `file-name-as-directory' (http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02294.html).
* ; * etc/NEWS: Document `search-default-regexp-mode'Artur Malabarba2015-10-281-0/+2
|
* Use a plain svg file for the iconNicolas Petton2015-10-271-218/+184
| | | | | * etc/images/icons/hicolor/scalable/apps/emacs.svg: Use a plain SVG format instead of the Inkscape SVG format.
* Document file notification `stopped' eventMichael Albinus2015-10-251-3/+8
| | | | * doc/lispref/os.texi (File Notifications): Document `stopped event'.
* Update the new iconNicolas Petton2015-10-246-201/+221
| | | | | | | | | | | | | Move the E slightly to the right in the circle. * etc/images/icons/hicolor/128x128/apps/emacs.png: * etc/images/icons/hicolor/16x16/apps/emacs.png: * etc/images/icons/hicolor/24x24/apps/emacs.png: * etc/images/icons/hicolor/32x32/apps/emacs.png: * etc/images/icons/hicolor/48x48/apps/emacs.png: * etc/images/icons/hicolor/scalable/apps/emacs.svg: * nextstep/Cocoa/Emacs.base/Contents/Resources/Emacs.icns: * nt/icons/emacs.ico: New icom update.
* ; NEWS tweakXue Fuqiao2015-10-241-24/+24
|
* New library thunk.elNicolas Petton2015-10-231-0/+5
| | | | | | | | thunk.el is extracted from stream.el in ELPA, with additional tests. * lisp/emacs-lisp/thunk.el: New file. * test/automated/thunk-tests.el: New file. * etc/NEWS: Add information about thunk.el
* New default iconNicolas Petton2015-10-2316-480/+1040
| | | | | | | | | | | | | | | | | | | * etc/images/icons/hicolor/128x128/apps/emacs23.png: * etc/images/icons/hicolor/16x16/apps/emacs23.png: * etc/images/icons/hicolor/24x24/apps/emacs23.png: * etc/images/icons/hicolor/32x32/apps/emacs23.png: * etc/images/icons/hicolor/48x48/apps/emacs23.png: * etc/images/icons/hicolor/scalable/apps/emacs23.svg: * etc/images/icons/hicolor/scalable/mimetypes/emacs-document23.svg: Move the old logo files to emacs23.*. * etc/images/icons/hicolor/128x128/apps/emacs.png: * etc/images/icons/hicolor/16x16/apps/emacs.png: * etc/images/icons/hicolor/24x24/apps/emacs.png: * etc/images/icons/hicolor/32x32/apps/emacs.png: * etc/images/icons/hicolor/48x48/apps/emacs.png: * etc/images/icons/hicolor/scalable/apps/emacs.svg: * etc/images/icons/hicolor/scalable/mimetypes/emacs-document.svg: New files. * etc/images/icons/README: Update the copyright information.
* Describe dired-do-compress-to in the manualOleh Krehel2015-10-221-0/+2
| | | | | | | | * etc/NEWS: Update. * lisp/dired-aux.el: Fix typo. * doc/emacs/dired.texi: Add entry.
* Add dired-do-compress-to command bound to "c"Oleh Krehel2015-10-211-0/+6
| | | | | | | | | | | | | | * lisp/dired-aux.el (dired-shell-command): Use the caller's `default-directory', return the result of `process-file'. (dired-compress-file-suffixes): Add comment on why "tar -zxf" isn't used by default. (dired-compress-files-alist): New defvar. (dired-do-compress-to): New command. * lisp/dired.el (dired-mode-map): Bind `dired-do-compress-to' to "c". (dired-do-compress-to): Add an autoload entry. * etc/NEWS: Add two entries.
* ; etc/NEWS: Remove duplicate text.Juanma Barranquero2015-10-211-4/+0
|
* (/ N) now returns the reciprocal of NPaul Eggert2015-10-201-0/+6
| | | | | | | | | | | | | | | This is more compatible with Common Lisp and XEmacs (Bug#21690). See: http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg01053.html * lisp/color.el (color-hue-to-rgb, color-hsl-to-rgb) (color-xyz-to-srgb, color-xyz-to-lab): * lisp/emacs-lisp/cl-extra.el (cl-float-limits): * lisp/net/shr-color.el (shr-color-hue-to-rgb) (shr-color-hsl-to-rgb-fractions): Exploit the change to simplify the code a bit. * lisp/emacs-lisp/bytecomp.el (byte-compile-quo): Don’t complain about single-argument calls to ‘/’. * src/data.c (arith_driver, float_arith_driver): Implement the change.
* ; More updates and corrections in etc/HISTORYEli Zaretskii2015-10-161-5/+11
|
* Add more release info to etc/HISTORYEli Zaretskii2015-10-161-0/+44
| | | | | * etc/HISTORY: Add more release information about 19.x and 20.x versions.
* New file etc/HISTORYPaul Eggert2015-10-152-0/+155
| | | | | | * admin/FOR-RELEASE: Procedure for etc/HISTORY. * etc/HISTORY: New file. * etc/NEWS: Mention it.
* Update tutorials/TUTORIAL.cnXue Fuqiao2015-10-051-3/+2
| | | | * etc/tutorials/TUTORIAL.cn: Improve translation.
* Restore blank line before next section, erroneously erased in my previous commitVincent Belaïche2015-10-041-0/+1
| | | | * etc/compilation.txt (symbol ant): add an additional trailing blank line to this section, so that there are two of them immediately before the next section
* Support MSW filename style for ant compilation error regexpVincent Belaïche2015-10-041-1/+1
| | | | | * etc/compilation.txt (symbol ant): * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist): Support MSW filename style
* Maintain ordering of JSON object keys by defaultSimen Heggestøyl2015-10-031-0/+5
| | | | | | | | | | | | | | * lisp/json.el (json-object-type): Mention order handling in doc-string. (json--plist-reverse): New utility function. (json-read-object): Maintain ordering for alists and plists. (json-pretty-print): Ensure that ordering is maintained. * test/automated/json-tests.el (test-json-plist-reverse): New test for `json--plist-reverse'. (json-read-simple-alist): Update test to accommodate for changes in `json-read-object'. * etc/NEWS: Document the new behavior of the pretty printing functions.
* Adapt to new prettify-symbols-unprettify-at-point defaultTassilo Horn2015-10-031-1/+1
| | | | | * etc/NEWS: Mention that unprettication of symbol at point is off by default.
* * lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):Artur Malabarba2015-10-011-1/+5
| | | | | | Support unprettifying when point is after a symbol. * etc/NEWS: Document `prettify-symbols-unprettify-at-point'
* * lisp/progmodes/sh-script.el: Old "dumb" continued line indentStefan Monnier2015-09-291-1/+5
| | | | | | | (sh-indent-after-continuation): Add new value `always' (bug#17620) (sh-smie-sh-rules): Remove old handling of continued lines. (sh-smie--indent-continuation): New function. (sh-set-shell): Use it.
* ; Remove extraneous "coding: utf-8" specifications in Elisp filesDmitry Gutov2015-09-291-1/+1
|
* * etc/PROBLEMS: Document problems with pasting on MS-WindowsEli Zaretskii2015-09-261-0/+8
|
* Resurrect edebug-set-initial-mode, repurposing it to set the global mode.Alan Mackenzie2015-09-251-0/+5
| | | | | | | | | | | | | | | | lisp/emacs-lisp/edebug.el (edebug-initial-mode-alist): Uncomment, and amend to match current modes and functions. (edebug-set-initial-mode): Uncomment and change from setting a defun's `edebug-initial-mode''s property to setting the variable `edebug-initial-mode'. (top level): Create new binding C-x C-a C-m for `edebug-set-initial-mode'. doc/lispref/edebug.texi (Edebug Execution Modes): document `edebug-set-initial-mode' and its new key binding. (Edebug Options): Mention the new command in the pertinent place. etc/NEWS: Write entry for this change.
* Update publicsuffix.txt from upstreamPaul Eggert2015-09-241-111/+1745
| | | | | | * etc/publicsuffix.txt: Update from https://publicsuffix.org/list/effective_tld_names.dat dated 2015-09-24 17:29:21 UTC.
* * lisp/emacs-lisp/syntax.el (syntax-begin-function): Make obsoleteStefan Monnier2015-09-201-1/+2
|
* Improve file notifications, especially for TrampMichael Albinus2015-09-201-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/files.texi (Magic File Names): Mention `file-notify-valid-p'. * doc/lispref/os.texi (File Notifications): Describe `file-notify-valid-p'. * etc/NEWS: Add `file-notify-valid-p'. * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch): Improve implementation. (tramp-gvfs-monitor-file-process-filter): Rename from `tramp-gvfs-file-gvfs-monitor-file-process-filter'. Delete process if appropriate. * lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch): Improve implementation. (tramp-sh-gvfs-monitor-dir-process-filter): Rename from `tramp-sh-file-gvfs-monitor-dir-process-filter'. Delete process if appropriate. (tramp-sh-inotifywait-process-filter): Rename from `tramp-sh-file-inotifywait-process-filter'. Delete process if appropriate. * lisp/net/tramp.el (tramp-handle-file-notify-rm-watch): Use `delete-process' (tramp-handle-file-notify-valid-p): Check also, that file or directory to be watched still exists. * test/automated/file-notify-tests.el (file-notify--test-timeout): New defun. Use it at all places a timeout is needed. (file-notify--test-cleanup): Delete directories recursively. Cleanup also Tramp connections. (file-notify-test02-events): Add tests for `attribute-change'. (file-notify-test04-file-validity, file-notify-test05-dir-validity): Add tests for `file-notify-rm-watch'.
* * lisp/font-lock.el (font-lock-beginning-of-syntax-function): RemoveStefan Monnier2015-09-171-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (font-lock-fontify-block): Don't let-bind it. (font-lock-compile-keywords): Don't use it. (font-lock-set-defaults): Don't set it. Allow the variable alist to start one slot earlier, instead. * lisp/emacs-lisp/syntax.el (font-lock-beginning-of-syntax-function): Don't declare. (syntax-ppss): Don't use it either. * lisp/font-core.el (font-lock-defaults): Remove SYNTAX-BEGIN from docstring. * doc/emacs/display.texi (Font Lock): Don't mention font-lock-beginning-of-syntax-function. * doc/lispref/modes.texi (Font Lock Basics): Update description of font-lock-defaults. (Syntactic Font Lock): Remove font-lock-beginning-of-syntax-function. * lisp/loadhist.el (unload-feature-special-hooks): Remove font-lock-beginning-of-syntax-function. * lisp/obsolete/lazy-lock.el (lazy-lock-fontify-region): * lisp/emacs-lisp/lisp.el (beginning-of-defun-raw): Don't let-bind font-lock-beginning-of-syntax-function.
* ; Use proper accents in Peter von der Ahé’s namePaul Eggert2015-09-161-1/+1
|
* Minor quoting fixes in scripts and docPaul Eggert2015-09-161-12/+12
| | | | | | Prefer straight quotes in random script files, as they are not converted. Prefer grave quotes in a couple of places in the manual that were missed earlier, as these quotes are converted.
* Add missing *.pbm imagesEli Zaretskii2015-09-1583-0/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * etc/images/connect.pbm: New file. * etc/images/custom/down-pushed.pbm: New file. * etc/images/custom/down.pbm: New file. * etc/images/custom/right-pushed.pbm: New file. * etc/images/custom/right.pbm: New file. * etc/images/describe.pbm: New file. * etc/images/disconnect.pbm: New file. * etc/images/ezimage/bits.pbm: New file. * etc/images/ezimage/bitsbang.pbm: New file. * etc/images/ezimage/box-minus.pbm: New file. * etc/images/ezimage/box-plus.pbm: New file. * etc/images/ezimage/box.pbm: New file. * etc/images/ezimage/checkmark.pbm: New file. * etc/images/ezimage/dir-minus.pbm: New file. * etc/images/ezimage/dir-plus.pbm: New file. * etc/images/ezimage/dir.pbm: New file. * etc/images/ezimage/doc-minus.pbm: New file. * etc/images/ezimage/doc-plus.pbm: New file. * etc/images/ezimage/doc.pbm: New file. * etc/images/ezimage/info.pbm: New file. * etc/images/ezimage/key.pbm: New file. * etc/images/ezimage/label.pbm: New file. * etc/images/ezimage/lock.pbm: New file. * etc/images/ezimage/mail.pbm: New file. * etc/images/ezimage/page-minus.pbm: New file. * etc/images/ezimage/page-plus.pbm: New file. * etc/images/ezimage/page.pbm: New file. * etc/images/ezimage/tag-gt.pbm: New file. * etc/images/ezimage/tag-minus.pbm: New file. * etc/images/ezimage/tag-plus.pbm: New file. * etc/images/ezimage/tag-type.pbm: New file. * etc/images/ezimage/tag-v.pbm: New file. * etc/images/ezimage/tag.pbm: New file. * etc/images/ezimage/unlock.pbm: New file. * etc/images/gnus/important.pbm: New file. * etc/images/gnus/mail-send.pbm: New file. * etc/images/gnus/receipt.pbm: New file. * etc/images/gnus/toggle-subscription.pbm: New file. * etc/images/gnus/unimportant.pbm: New file. * etc/images/gud/all.pbm: New file. * etc/images/gud/rcont.pbm: New file. * etc/images/gud/recstart.pbm: New file. * etc/images/gud/recstop.pbm: New file. * etc/images/gud/rfinish.pbm: New file. * etc/images/gud/rnext.pbm: New file. * etc/images/gud/rnexti.pbm: New file. * etc/images/gud/rstep.pbm: New file. * etc/images/gud/rstepi.pbm: New file. * etc/images/gud/thread.pbm: New file. * etc/images/lock-broken.pbm: New file. * etc/images/lock-ok.pbm: New file. * etc/images/lock.pbm: New file. * etc/images/mail/copy.pbm: New file. * etc/images/mail/forward.pbm: New file. * etc/images/mail/not-spam.pbm: New file. * etc/images/mail/outbox.pbm: New file. * etc/images/mail/preview.pbm: New file. * etc/images/mail/save-draft.pbm: New file. * etc/images/mh-logo.pbm: New file. * etc/images/mpc/add.pbm: New file. * etc/images/mpc/ffwd.pbm: New file. * etc/images/mpc/next.pbm: New file. * etc/images/mpc/pause.pbm: New file. * etc/images/mpc/play.pbm: New file. * etc/images/mpc/prev.pbm: New file. * etc/images/mpc/rewind.pbm: New file. * etc/images/mpc/stop.pbm: New file. * etc/images/redo.pbm: New file. * etc/images/smilies/braindamaged.pbm: New file. * etc/images/smilies/cry.pbm: New file. * etc/images/smilies/dead.pbm: New file. * etc/images/smilies/evil.pbm: New file. * etc/images/smilies/forced.pbm: New file. * etc/images/smilies/grin.pbm: New file. * etc/images/smilies/indifferent.pbm: New file. * etc/images/sort-ascending.pbm: New file. * etc/images/sort-column-ascending.pbm: New file. * etc/images/sort-criteria.pbm: New file. * etc/images/sort-descending.pbm: New file. * etc/images/sort-row-ascending.pbm: New file. * etc/images/unchecked.pbm: New file. * etc/images/zoom-in.pbm: New file. *: New file. : New file. : New file. * Please enter the commit message for your changes. Lines starting: New file. * with '#' will be ignored, and an empty message aborts the commit.: New file. * On branch master: New file. * Your branch is up-to-date with 'origin/master'.: New file. *: New file. * Changes to be committed:: New file. * modified: etc/images/README: New file. * etc/images/connect.pbm: New file. * etc/images/custom/down-pushed.pbm: New file. * etc/images/custom/down.pbm: New file. * etc/images/custom/right-pushed.pbm: New file. * etc/images/custom/right.pbm: New file. * etc/images/describe.pbm: New file. * etc/images/disconnect.pbm: New file. * etc/images/ezimage/bits.pbm: New file. * etc/images/ezimage/bitsbang.pbm: New file. * etc/images/ezimage/box-minus.pbm: New file. * etc/images/ezimage/box-plus.pbm: New file. * etc/images/ezimage/box.pbm: New file. * etc/images/ezimage/checkmark.pbm: New file. * etc/images/ezimage/dir-minus.pbm: New file. * etc/images/ezimage/dir-plus.pbm: New file. * etc/images/ezimage/dir.pbm: New file. * etc/images/ezimage/doc-minus.pbm: New file. * etc/images/ezimage/doc-plus.pbm: New file. * etc/images/ezimage/doc.pbm: New file. * etc/images/ezimage/info.pbm: New file. * etc/images/ezimage/key.pbm: New file. * etc/images/ezimage/label.pbm: New file. * etc/images/ezimage/lock.pbm: New file. * etc/images/ezimage/mail.pbm: New file. * etc/images/ezimage/page-minus.pbm: New file. * etc/images/ezimage/page-plus.pbm: New file. * etc/images/ezimage/page.pbm: New file. * etc/images/ezimage/tag-gt.pbm: New file. * etc/images/ezimage/tag-minus.pbm: New file. * etc/images/ezimage/tag-plus.pbm: New file. * etc/images/ezimage/tag-type.pbm: New file. * etc/images/ezimage/tag-v.pbm: New file. * etc/images/ezimage/tag.pbm: New file. * etc/images/ezimage/unlock.pbm: New file. * etc/images/gnus/important.pbm: New file. * etc/images/gnus/mail-send.pbm: New file. * etc/images/gnus/receipt.pbm: New file. * etc/images/gnus/toggle-subscription.pbm: New file. * etc/images/gnus/unimportant.pbm: New file. * etc/images/gud/all.pbm: New file. * etc/images/gud/rcont.pbm: New file. * etc/images/gud/recstart.pbm: New file. * etc/images/gud/recstop.pbm: New file. * etc/images/gud/rfinish.pbm: New file. * etc/images/gud/rnext.pbm: New file. * etc/images/gud/rnexti.pbm: New file. * etc/images/gud/rstep.pbm: New file. * etc/images/gud/rstepi.pbm: New file. * etc/images/gud/thread.pbm: New file. * etc/images/lock-broken.pbm: New file. * etc/images/lock-ok.pbm: New file. * etc/images/lock.pbm: New file. * etc/images/mail/copy.pbm: New file. * etc/images/mail/forward.pbm: New file. * etc/images/mail/not-spam.pbm: New file. * etc/images/mail/outbox.pbm: New file. * etc/images/mail/preview.pbm: New file. * etc/images/mail/save-draft.pbm: New file. * etc/images/mh-logo.pbm: New file. * etc/images/mpc/add.pbm: New file. * etc/images/mpc/ffwd.pbm: New file. * etc/images/mpc/next.pbm: New file. * etc/images/mpc/pause.pbm: New file. * etc/images/mpc/play.pbm: New file. * etc/images/mpc/prev.pbm: New file. * etc/images/mpc/rewind.pbm: New file. * etc/images/mpc/stop.pbm: New file. * etc/images/redo.pbm: New file. * etc/images/smilies/braindamaged.pbm: New file. * etc/images/smilies/cry.pbm: New file. * etc/images/smilies/dead.pbm: New file. * etc/images/smilies/evil.pbm: New file. * etc/images/smilies/forced.pbm: New file. * etc/images/smilies/grin.pbm: New file. * etc/images/smilies/indifferent.pbm: New file. * etc/images/sort-ascending.pbm: New file. * etc/images/sort-column-ascending.pbm: New file. * etc/images/sort-criteria.pbm: New file. * etc/images/sort-descending.pbm: New file. * etc/images/sort-row-ascending.pbm: New file. * etc/images/unchecked.pbm: New file. * etc/images/zoom-in.pbm: New file. * etc/images/README: Update instructions for PBM files.
* Add separator.pbm tool-bar imageEli Zaretskii2015-09-151-0/+3
| | | | | | | | | * etc/images/separator.pbm: New file. Having it avoids the side effect of changing the tool-bar height when the default font's size changes and XPM image support is not available, due to the SPC characters that are left in the Lisp string used to display the tool bar, because there are no images to display instead of those SPC characters.
* Make syntax.c call syntax-propertize on demandStefan Monnier2015-09-091-0/+3
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/syntax.el (syntax--jit-propertize): New function. (parse-sexp-propertize-function): Use it. (syntax-propertize): Disable parse-sexp-propertize-function. * src/syntax.c (parse_sexp_propertize, update_syntax_table_forward): New functions. (syms_of_syntax): New vars `parse-sexp-propertize-done' and `parse-sexp-propertize-function'. * src/syntax.h (struct gl_state_s): Add `e_property_truncated' field. (UPDATE_SYNTAX_TABLE_FORWARD): Use update_syntax_table_forward. (SETUP_BUFFER_SYNTAX_TABLE): Set e_property_truncated. * lisp/progmodes/elisp-mode.el (elisp-byte-code-syntax-propertize): Don't assume `point' is set.
* Improvements for curved quotes on Linux consulePaul Eggert2015-09-091-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should help Emacs work better out-of-the-box on Linux consoles, which have only limited support for displaying Unicode characters. Also, undo the recent change that caused text-quoting-style to affect quote display on terminals, so that the two features are independent. See Alan Mackenzie in: http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00244.html Finally, add a style parameter to startup--setup-quote-display, so that this function can also be invoked after startup, with different styles depending on user preference at the time. * configure.ac: Check for linux/kd.h header. * doc/emacs/display.texi (Text Display): Document quote display. * doc/lispref/display.texi (Active Display Table): * etc/NEWS: * lisp/startup.el (startup--setup-quote-display, command-line): text-quoting-style no longer affects quote display. * doc/lispref/frames.texi (Terminal Parameters): Fix typo. * lisp/international/mule-util.el (char-displayable-p): * lisp/startup.el (startup--setup-quote-display): On a text terminal supporting glyph codes, use the reported glyph codes instead of the terminal coding system, as this is more accurate on the Linux console. * lisp/startup.el (startup--setup-quote-display): New optional arg STYLE. * src/fontset.c (Finternal_char_font): Report glyph codes for a text terminal, if they are available. Currently this is supported only for the Linux console. * src/termhooks.h (struct terminal): New member glyph-code-table. * src/terminal.c [HAVE_LINUX_KD_H]: Include <errno.h>, <linux/kd.h>. (calculate_glyph_code_table) [HAVE_LINUX_KD_H]: New function. (terminal_glyph_code): New function.
* * lisp/emacs-lisp/package.el (package-initialize): Set enable-at-startupArtur Malabarba2015-09-071-0/+7
| | | | | | | | | | | | | | When `package-initialize' is called as part of loading the init file, the user probably doesn't want it to be called again afterwards. In this situation, `package-initialize' now sets `package-enable-at-startup' to nil to prevent that. The user can have the old behaviour by setting this variable to t after the call to `package-initialize'. (Bug#21423) * doc/emacs/package.texi (Package Installation): Document it * doc/lispref/package.texi (Packaging Basics): Document it * etc/NEWS: Document it
* ; * etc/NEWS: Put entry about [:graph:] and [:print:] where it belongs.Eli Zaretskii2015-09-041-8/+8
|
* Treat initial-scratch-message as a doc stringPaul Eggert2015-09-021-0/+4
| | | | | | | | | | | * doc/emacs/building.texi (Lisp Interaction): * doc/lispref/os.texi (Startup Summary): * etc/NEWS: Document this. * lisp/startup.el (initial-scratch-message): Look up find-file’s key rather than hardcoding it. (command-line-1): Substitute the doc string. This also substitutes the quotes, which will help test display quoting at startup.
* Follow text-quoting-style in display table initPaul Eggert2015-09-021-2/+3
| | | | | | | | | | | | | | This attempts to fix a problem reported by Alan Mackenzie in: http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00112.html * doc/lispref/display.texi (Active Display Table): Mention how text-quoting-style affects it. * doc/lispref/help.texi (Keys in Documentation): Say how to set text-quoting-style in ~/.emacs. * etc/NEWS: Document the change. * lisp/startup.el (startup--setup-quote-display): Follow user preference if text-quoting-style is set. (command-line): Setup quote display again if user expresses a preference in .emacs.
* * lisp/vc/vc-hooks.el (vc-refresh-state): New commandDavid Caldwell2015-09-011-0/+1
| | | | | | | (vc-refresh-state): Rename from vc-find-file-hook and make interactive. (vc-find-file-hook): Redefine as obsolete alias. Copyright-paperwork-exempt: yes
* Generalize the prefix-command machinery of C-uStefan Monnier2015-09-011-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/simple.el (prefix-command-echo-keystrokes-functions) (prefix-command-preserve-state-hook): New hooks. (internal-echo-keystrokes-prefix): New function. (prefix-command--needs-update, prefix-command--last-echo): New vars. (prefix-command-update, prefix-command-preserve): New functions. (reset-this-command-lengths): New compatibility definition. (universal-argument--mode): Call prefix-command-update. (universal-argument, universal-argument-more, negative-argument) (digit-argument): Call prefix-command-preserve-state. * src/keyboard.c: Call internal-echo-keystrokes-prefix to build the "prefix argument" to echo. (this_command_key_count_reset, before_command_key_count) (before_command_echo_length): Delete variables. (echo_add_key): Always add a space. (echo_char): Remove. (echo_dash): Don't give up when this_command_key_count is 0, since that is now the case after a prefix command. (echo_update): New function, extracted from echo_now. (echo_now): Use it. (add_command_key, read_char, record_menu_key): Remove old disabled code. (command_loop_1): Don't refrain from pushing an undo boundary when prefix-arg is set. Remove other prefix-arg special case, now handled directly in the prefix commands instead. But call echo_now if there's a prefix state to echo. (read_char, record_menu_key): Use echo_update instead of echo_char. (read_key_sequence): Use echo_now rather than echo_dash/echo_char. (Freset_this_command_lengths): Delete function. (syms_of_keyboard): Define Qinternal_echo_keystrokes_prefix. (syms_of_keyboard): Don't defsubr Sreset_this_command_lengths. * lisp/simple.el: Use those new hooks for C-u. (universal-argument--description): New function. (prefix-command-echo-keystrokes-functions): Use it. (universal-argument--preserve): New function. (prefix-command-preserve-state-hook): Use it. (command-execute): Call prefix-command-update if needed. * lisp/kmacro.el (kmacro-step-edit-prefix-commands) (kmacro-step-edit-prefix-index): Delete variables. (kmacro-step-edit-query, kmacro-step-edit-insert): Remove ad-hoc support for prefix arg commands. (kmacro-step-edit-macro): Don't bind kmacro-step-edit-prefix-index. * lisp/emulation/cua-base.el (cua--prefix-override-replay) (cua--shift-control-prefix): Use prefix-command-preserve-state. Remove now unused arg `arg'. (cua--prefix-override-handler, cua--prefix-repeat-handler) (cua--shift-control-c-prefix, cua--shift-control-x-prefix): Update accordingly. (cua--prefix-override-timeout): Don't call reset-this-command-lengths any more. (cua--keep-active, cua-exchange-point-and-mark): Don't set mark-active if the mark is not set.
* hideif.el: Recognize .h++ as C++ header.Rüdiger Sonderfeld2015-09-011-1/+1
| | | | * lisp/progmodes/hideif.el (hide-ifdef-header-regexp): Add .h++.