summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* Improve support of the Tai-Viet scriptEli Zaretskii2019-09-181-12/+11
| | | | | | | | * lisp/language/tai-viet.el ("TaiViet"): Update the doc string. Suggested by Jim Brase <jim_brase@sil.org>. (Bug#5806) * etc/HELLO: Add a Tai Viet entry.
* Add extra args for zsh in TrampMichael Albinus2019-09-181-1/+3
| | | | | | | * doc/misc/tramp.texi (Remote shell setup): New subsection "Changing the default remote shell". * lisp/net/tramp-sh.el (tramp-sh-extra-args): Add entry for zsh.
* Fix an assignment to free variable warningTino Calancha2019-09-171-1/+1
| | | | | | | | | | It fixes a bug introduced by commit 'query-replace-regexp undo: Update next-replacement after undo' (30c4f35a6fc8a6507930923766c3126ac1c2063f) See https://lists.gnu.org/archive/html/emacs-devel/2019-09/msg00364.html * lisp/replace.el(perform-replace): Rename variable to next-replacement-replaced.
* Suppress some warnings about un-prefixed dynamic variablesLars Ingebrigtsen2019-09-171-55/+57
| | | | | | * lisp/mh-e/mh-mime.el (mh-insert-mime-security-button): Suppress warnings about un-prefixed dynamic variables. (mh-insert-mime-button): Ditto.
* Touch up naming of ipv6-expandLars Ingebrigtsen2019-09-171-4/+5
| | | | | | * lisp/net/net-utils.el (nslookup--ipv6-expand): Rename to avoid make prefix more regular. (nslookup-host-ipv6): Rename call.
* Updated to match more recent versions of Praat.W. Garrett Mitchener2019-09-171-12/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/leim/quail/ipa-praat.el ("ipa-praat"): Update to match more recent versions of Praat (bug#36198). - \rh was used for ram's horns (a vowel) and rhoticity hook (a diacritic). Praat uses \hr for the hook, so I made that changed. - \e3v for the slightly rounded diacritic seems to have been a typo related to the use of e in the example. Changed it to \3v to match Praat. - Added examples to the table of tone diacritics - Added \^h for superscript h - Added \^H for superscript h with hook - Added \^w for superscript w (labialization) - Added \^j for superscript j (palatalization) - Added \^g for superscript symbol (velarization) - Added \^9 for superscript symbol (pharyngealization)
* Improve font lookup on MS-WindowsEli Zaretskii2019-09-172-0/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/w32font.c (struct font_callback_data): New member 'known_fonts'. (w32font_list_internal, w32font_match_internal): Set up match_data.known_fonts if the font spec includes :script that names one of the non-USB scripts. (add_font_entity_to_list): If font_matches_spec returns zero for a font, and we have some fonts in match_data->known_fonts, consider the font to be a match if it is named in known_fonts. (font_supported_scripts): Update the Unicode Subranges. In particular, map bit 74 to 'burmese', as this is the name Emacs uses, not 'myanmar'. Add a list of scripts that have no USBs defined for them. (syms_of_w32font) <Qburmese, Qcuneiform_numbers_and_punctuation> <Qaegean_number, Qw32_non_USB_fonts>: New symbols. * lisp/term/w32-win.el (w32-no-usb-subranges): New defconst. (w32--filter-USB-scripts, w32-find-non-USB-fonts): New functions. (w32-non-USB-fonts): New defvar. * lisp/international/fontset.el (setup-default-fontset): Add more scripts to automatic setup by representative characters. * doc/emacs/msdos.texi (Windows Fonts): Document 'w32-find-non-USB-fonts' and 'w32-non-USB-fonts'. * etc/NEWS: Mention 'w32-find-non-USB-fonts' and 'w32-non-USB-fonts'.
* Fix some file-mode racesPaul Eggert2019-09-165-16/+14
| | | | | | | | | * lisp/emacs-lisp/autoload.el (autoload-ensure-file-writeable): * lisp/files.el (after-find-file): * lisp/gnus/gnus-start.el (gnus-dribble-read-file): * lisp/htmlfontify.el (hfy-copy-and-fontify-file): * lisp/server.el (server-ensure-safe-dir): Avoid a race when getting file permissions.
* vc-cvs-revert: fix off-by-one file modePaul Eggert2019-09-161-1/+1
| | | | | | * lisp/vc/vc-cvs.el (vc-cvs-revert): 3950 (#o7556) is wrong as it keeps other-write but disables other-execute permissions. 3949 (#o7555) was intended here. Use octal notation for clarity.
* Fix imenu menu when we're auto-refreshingLars Ingebrigtsen2019-09-171-2/+3
| | | | | * lisp/imenu.el (imenu--make-index-alist): Don't add a *Refresh* item if we're auto-refreshing (bug#30449).
* Add a new variable smtpmail-retriesLars Ingebrigtsen2019-09-171-1/+8
| | | | | | | * doc/misc/smtpmail.texi (Server workarounds): Mention it (bug#34177). * lisp/mail/smtpmail.el (smtpmail-retries): New variable. (smtpmail-via-smtp): Use it.
* Allow `M-u' to work when editing fields in CustomizeMichał Kondraciuk2019-09-171-1/+6
| | | | | | | * lisp/cus-edit.el (custom-notify): Allow more editing commands to work in the Customize buffers (bug#31205). Copyright-paperwork-exempt: yes
* Try resending when getting a transient 4xx SMTP codeLars Ingebrigtsen2019-09-161-1/+20
| | | | | * lisp/mail/smtpmail.el (smtpmail-via-smtp): Try resending when getting a transient error message (bug#34177).
* mm-inline-large-images-proportion doc clarificationLars Ingebrigtsen2019-09-161-2/+3
| | | | | * lisp/gnus/mm-view.el (mm-inline-large-images-proportion): Doc clarification.
* Default to rescaling images in mm buffersLars Ingebrigtsen2019-09-161-1/+2
| | | | | | | * doc/misc/emacs-mime.texi (Display Customization): Document it. * lisp/gnus/mm-decode.el (mm-inline-large-images): Change default to `resize'.
* mm-inline-large-images doc string clarificationLars Ingebrigtsen2019-09-161-2/+3
| | | | * lisp/gnus/mm-decode.el (mm-inline-large-images): Clarify doc string.
* With tooltip-mode disabled, don't unconditionally clear the echo areaMauro Aranda2019-09-161-1/+4
| | | | | | * lisp/tooltip.el (tooltip-show-help-non-mode): Only clear the echo area when the current message displayed is a tooltip message (Bug#3192).
* Add bindings for ligature oe to iso-transl-char-mapRobert Pluim2019-09-161-0/+2
| | | | | * lisp/international/iso-transl.el (iso-transl-char-map): Add bindings for small and capital ligature oe. (Bug#23420)
* Merge from origin/emacs-26Glenn Morris2019-09-151-6/+8
|\ | | | | | | | | | | 30c4f35 (origin/emacs-26) query-replace-regexp undo: Update next-repl... c596be0 Amend the menu caption for page "Display Property" in the Eli... 13b9510 Add description of chinese-sisheng
| * query-replace-regexp undo: Update next-replacement after undoTino Calancha2019-09-091-6/+8
| | | | | | | | | | | | | | | | | | * lisp/replace.el (perform-replace): Rename the local binding to not shadow next-replacement. Update next-replacement after undo (Bug#37287). * test/lisp/replace-tests.el (query-replace-undo-bug37287): Add test. (query-replace-undo-bug37073): Tweak this test.
* | * lisp/subr.el (major-mode-suspend): Doc fixJuanma Barranquero2019-09-151-1/+1
| |
* | Make widget-browse-at always detect an editable-fieldMauro Aranda2019-09-151-1/+5
| | | | | | | | | | * lisp/wid-browse.el (widget-browse-at): Also look for the real-field property when detecting a field (bug#37199).
* | Do not use error messages as list of ignored files in vc-svnWolfgang Scherer2019-09-151-2/+3
| | | | | | | | | | * lisp/vc/vc-svn.el: (vc-svn-ignore-completion-table) Ignore buffer contents, if exit status is not 0. Split buffer by lines (bug#37214).
* | Fix vc-default-ignoreWolfgang Scherer2019-09-151-4/+9
| | | | | | | | | | | | | | * lisp/vc/vc.el: (vc-default-ignore) Treat FILE parameter as relative to DIRECTORY parameter. Construct a file-path relative to directory of ignore file. When removing, use properly anchored regexp. Remove entire line, not just the match (bug#37217).
* | Provide facility to ignore all marked files in vcWolfgang Scherer2019-09-151-4/+12
| | | | | | | | | | * lisp/vc/vc-dir.el: (vc-dir-ignore) With prefix argument, ignore all marked files (bug#37240).
* | Fix fileless eww form submissionBasil L. Contovounesios2019-09-141-9/+9
| | | | | | | | | | * lisp/net/eww.el (eww-submit): Ignore file inputs with no associated file name (bug#36520).
* | Add default foreground colours to SVG imagesLars Ingebrigtsen2019-09-141-0/+16
| | | | | | | | | | | | | | | | * lisp/net/shr.el (svg--wrap-svg): Add a default foreground colour to SVG images (bug#37159). This helps with images like the ones in https://en.wikipedia.org/wiki/Banach_fixed-point_theorem that specify no foreground or background colours. (shr-parse-image-data): Use it.
* | Make eww more liberal when interpreting some invalid HTMLLars Ingebrigtsen2019-09-141-0/+14
| | | | | | | | | | | | | | | | | | * lisp/net/eww.el (eww--preprocess-html): New function (bug#37009) to be more lenient with invalid HTML and translate common invalid HTML like "a <= b" into "a &lt;= b" to be more liberal in what we accept before parsing. (eww-display-html): Use it. (eww-readable): Ditto.
* | Add a debug declaration to widget-specify-insertTobias Zawada2019-09-141-0/+1
| | | | | | | | | | | | | | * lisp/wid-edit.el (widget-specify-insert): Add a debug declaration (bug#37368). Copyright-paperwork-exempt: yes
* | Allow gamegrid-add-score to treat lower scores as better.Federico Tedin2019-09-141-22/+27
| | | | | | | | | | | | | | | | | | | | | | * lisp/play/gamegrid.el (gamegrid-add-score): Add 'reverse' parameter. (gamegrid-add-score-with-update-game-score): Add 'reverse' parameter. (gamegrid-add-score-with-update-game-score-1): Add 'reverse' parameter. Pass on "-r" argument to update-game-score. (gamegrid-add-score-insecure): Add 'reverse' parameter, reverse scores when it's non-nil. (Bug#36867) * etc/NEWS: Announce the change.
* | Improve performance of backtrace printing (bug#36566)Gemini Lasswell2019-09-131-10/+11
| | | | | | | | | | | | * lisp/emacs-lisp/cl-print.el (cl-print-to-string-with-limit): Reduce print-level and print-length more quickly when the structure being printed is very large.
* | Improve print output options commands in backtrace-mode (bug#36566)Gemini Lasswell2019-09-131-10/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/backtrace.el (backtrace-view): Mention :print-gensym in docstring. (backtrace-mode-map): Add keyboard binding for backtrace-toggle-print-gensym. Add menu entries for backtrace-toggle-print-circle and backtrace-toggle-print-gensym. (backtrace--with-output-variables): Bind print-gensym with value of :print-gensym found in view plist. (backtrace-toggle-print-circle): Remove description of implementation details from docstring. (backtrace-toggle-print-gensym): New command. (backtrace--toggle-feature): Add echo area message describing result of command. * test/lisp/emacs-lisp/backtrace-tests.el (backtrace-tests--print-circle): New test. * doc/lispref/debugging.texi (Backtraces): Document keyboard binding for backtrace-toggle-print-gensym.
* | * lisp/help-mode.el (help-mode-menu): Fix typo. (Bug#36485)Stefan Kangas2019-09-131-1/+1
| |
* | Remove leftover XEmacs compat code and doc fixesStefan Kangas2019-09-134-24/+5
| | | | | | | | | | | | | | | | | | | | | | * lisp/mail/feedmail.el (top-level): Remove outdated comment. (feedmail-run-the-queue): Remove leftover XEmacs compat code. (feedmail-nuke-bcc): Doc fix. * lisp/emulation/viper.el (top-level, viper-mode) * lisp/net/rfc2104.el (top-level): Doc fix. * lisp/textmodes/table.el (top-level): Remove obsolete todo.
* | Change gui--selection-value-internal comment into doc stringStefan Kangas2019-09-131-5/+4
| | | | | | | | | | * lisp/select.el (gui--selection-value-internal): Change comment into doc string. (Bug#25528)
* | ; Fix a typo by last commitMichael Albinus2019-09-131-1/+1
| |
* | ; Add traces in shadowfile.elMichael Albinus2019-09-131-1/+15
| |
* | Make recent Tramp patch work for tramp-archive.elMichael Albinus2019-09-131-6/+5
| | | | | | | | | | * lisp/net/tramp.el (tramp-connectable-p): Make it work also for tramp-archive.el.
* | Fix saving user-defined calc commands with compositions (Bug#36720)Jack Coughlin2019-09-121-1/+1
| | | | | | | | | | | | | | | | * lisp/calc/calc-prog.el (calc-user-define-permanent): Correctly save the composition when the user specifies their formula by its command name or key. Copyright-paperwork-exempt: yes
* | Fix fill-paragraph in python docstrings (Bug#36056)Noam Postavsky2019-09-121-1/+7
| | | | | | | | | | | | | | | | | | | | * lisp/progmodes/python.el (python-do-auto-fill): New function. (python-mode): Set it as normal-auto-fill-function, and don't set fill-indent-according-to-mode. Having the latter set during fill-paragraph gives wrongs result, because python-indent-line doesn't remove indentation added by filling. * test/lisp/progmodes/python-tests.el (python-fill-docstring): New test.
* | * lisp/progmodes/sh-script.el (sh--assignment-collect): Only after `=`!Stefan Monnier2019-09-121-6/+7
| |
* | * lisp/progmodes/sh-script.el (sh-mode-map): Don't bind `=`Stefan Monnier2019-09-121-21/+24
| | | | | | | | | | | | | | (sh-shell-initialize-variables): Use sh--assignment-collect on post-self-insert-hook instead. (sh--assignment-collect): New function, extracted from sh-assignment. (sh-assignment): Use it and mark as obsolete.
* | Add `isearch-yank-until-char'Karl Fogel2019-09-121-0/+23
| | | | | | | | | | | | | | | | | | | | * lisp/isearch.el (isearch-yank-until-char): New function. (isearch-mode-map, isearch-menu-bar-yank-map): Add it. (isearch-forward): Document the new binding. * doc/emacs/search.texi (Isearch Yanking): Document the feature. * etc/NEWS: Mention the above.
* | Optimize host name completion in TrampMichael Albinus2019-09-127-120/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp-adb.el (tramp-adb-maybe-open-connection): * lisp/net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): * lisp/net/tramp-rclone.el (tramp-rclone-maybe-open-connection): * lisp/net/tramp-sh.el (tramp-maybe-open-connection): * lisp/net/tramp-smb.el (tramp-smb-maybe-open-connection): * lisp/net/tramp-sudoedit.el (tramp-sudoedit-maybe-open-connection): Throw `non-essential' at the beginning of the function. * lisp/net/tramp.el (tramp-handle-file-exists-p): * lisp/net/tramp-sh.el (tramp-sh-handle-file-exists-p): * lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-file-exists-p): Run only when host is connectable. This is due to host name completion, which shall be optimized. * lisp/net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat) (tramp-smb-get-file-entries): Access connection buffer only after sending the command. * lisp/net/tramp.el (tramp-get-buffer, tramp-get-connection-buffer): New argument DONT-CREATE. (tramp-message): Use it. (tramp-get-mutex): Check, whether host is connectable. (tramp-file-name-handler): Set thread only when host is connectable. (tramp-connectable-p): Allow also VEC as argument. (tramp-completion-handle-file-name-completion): Do not expand directory.
* | Fix auto-save with user-emacs-directoryPaul Eggert2019-09-111-0/+1
| | | | | | | | | | * lisp/startup.el (auto-save-list-file-prefix): Delay initialization, since the value depends on user-emacs-directory (Bug#37354).
* | * lisp/emacs-lisp/elint.el (elint-directory-skip-re): Fix doc typo.Mattias Engdegård2019-09-111-1/+1
| |
* | Create a new overlay used to mark Attachment header (bug#37370)Katsumi Yamaoka2019-09-111-6/+6
| | | | | | | | | | | | | | * lisp/gnus/gnus-art.el (gnus-mime-inline-part) (gnus-mm-display-part, gnus-mime-buttonize-attachments-in-header): Create a new overlay used to mark Attachment header instead of using existing overlays.
* | Merge commit '74e9799bd89484b8d15bdd6597c68fc00d07e7f7'Stephen Leake2019-09-1066-759/+1677
|\ \
| * | Handle missing start-time when importing ical event (Bug#33277)Ulf Jasper2019-09-091-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/calendar/icalendar.el (icalendar--convert-ical-to-diary): Set start time only if it is explicitly given in ical. Do not use start-time as default for end-time (Bug#33277). * test/lisp/calendar/icalendar-tests.el (icalendar-import-bug-33277): New. Test fix for Bug#33277.
| * | Match Python 3 code object names in "M-x pdb"Stefan Kangas2019-09-091-1/+3
| | | | | | | | | | | | | | | * lisp/progmodes/gud.el (gud-pdb-marker-regexp): Match Python 3 code object names. (Bug#11679)