summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* Make register-preview ignore empty registersLars Ingebrigtsen2019-09-211-1/+4
| | | | | * lisp/register.el (register-preview): Ignore elements that are empty (bug#37155).
* Make the reverse tabulated list sort stableJohan Claesson2019-09-211-1/+1
| | | | | | | * lisp/emacs-lisp/tabulated-list.el (tabulated-list--get-sorter): Make the reverse sorting stable (bug#37174). Copyright-paperwork-exempt: yes
* Further touch-ups to the auth-source obfuscationLars Ingebrigtsen2019-09-201-15/+18
| | | | | * lisp/auth-source.el (auth-source--obfuscate): Avoid leaking the length of the password by using PKCS#7 padding.
* Add some comments to the auth-source obfuscationLars Ingebrigtsen2019-09-201-1/+7
| | | | * lisp/auth-source.el (auth-source--obfuscate): Add comments.
* Make previous auth-source change not break on Windows without gnutlsLars Ingebrigtsen2019-09-201-2/+4
| | | | | * lisp/auth-source.el (auth-source--obfuscate) (auth-source--deobfuscate): Check that gnutls is really available.
* Obfuscate auth-source memory contents even moreLars Ingebrigtsen2019-09-201-8/+48
| | | | | | | | * lisp/auth-source.el (auth-source--deobfuscate): Use more obfuscated obfuscation (bug#37196). (auth-source--pad, auth-source--obfuscate) (auth-source-netrc-normalize): Use it. (auth-source-netrc-parse): Ditto.
* Obfuscate auth-source secrets moreLars Ingebrigtsen2019-09-201-6/+12
| | | | | * lisp/auth-source.el (auth-source-netrc-normalize): Obfuscate passwords stored in the lexical closure (bug#37196).
* Recommend against SHA-1 and MD5 for securityStefan Kangas2019-09-201-2/+6
| | | | | | | | * doc/lispref/text.texi (Checksum/Hash): * src/fns.c (Fmd5, Fsecure_hash): * lisp/subr.el (sha1): Doc fix to recommend against SHA-1 and MD5 for security-related applications, since they are not collision resistant. (Bug#37420)
* Allow `process-contact' not to blockLars Ingebrigtsen2019-09-201-1/+1
| | | | | | | | | | * doc/lispref/processes.texi (Process Information): Document it. * lisp/simple.el (list-processes--refresh): Don't wait for contact information for non-setup processes. * src/process.c (Fprocess_contact): Take an optional parameter to avoid blocking (bug#37408).
* Make number-at-point recognize some hex numbersLars Ingebrigtsen2019-09-201-4/+11
| | | | | * lisp/thingatpt.el (number-at-point): Also return common hex numbers (bug#37458).
* Change default value of message-make-forward-subject-functionDamien Cassou2019-09-201-5/+7
| | | | | | | * lisp/gnus/message.el (message-make-forward-subject-function): Change default value to be a list so it's easier for users to add functions. Change the type so the customize interface allows selecting multiple provided functions instead of just one (bug#37470).
* Recommend using https for package-archivesStefan Kangas2019-09-201-1/+4
| | | | | * lisp/emacs-lisp/package.el (package-archives): Recommend using https sources where possible. (Bug#33825)
* ; Improve wording of last Tramp commit, suggested by Robert PluimMichael Albinus2019-09-201-11/+19
|
* Fix the previous imenu commitMatthew Newton2019-09-201-1/+2
| | | | | | | * lisp/imenu.el (imenu--make-index-alist): Always return the alist (bug#30449). Copyright-paperwork-exempt: yes
* Some Tramp methods allow to change the remote login shellMichael Albinus2019-09-202-90/+118
| | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (Inline methods) <sshx, plink, plinkx>: (External methods) <scpx, pscp, psftp>: Mention, that the remote login shell could be changed. (Remote shell setup): Remove description of properties "remote-shell-login" and "remote-shell-args", they don't matter here. Changing the default remote shell works only for some methods. (Frequently Asked Questions): Refer to alternative approach fixing zsh problems. * etc/NEWS: Some Tramp methods allow to change the remote login shell. * lisp/net/tramp-sh.el (tramp-default-remote-shell): New defconst. (tramp-methods): Use it. (tramp-get-sh-extra-args): New defun. (tramp-open-shell, tramp-maybe-open-connection): Use it. * lisp/net/tramp.el (tramp-methods): Adapt docstring.
* * lisp/window.el (walk-windows): Simplify to use WINDOW arg of window-list-1Juri Linkov2019-09-191-6/+10
| | | | instead of calling select-window (bug#35385).
* Only use Gnus registry for formatting when registry is loadedEric Abrahamsen2019-09-191-12/+16
| | | | | | | | | | | See bug #36903 * lisp/gnus/gnus-registry.el (gnus-registry-article-marks-to-chars): (gnus-registry-article-marks-to-names): In some circumstances it's possible for the user's summary line format spec to include registry-specific code, while the registry itself isn't actually loaded. Make sure the database is actually a hashtable before accessing it.
* Minor svg wrap tweakLars Ingebrigtsen2019-09-191-1/+1
| | | | | * lisp/net/shr.el (svg--wrap-svg): Add the size to the wrapper to avoid having the SVG images shrink (bug#37159).
* Further fix-ups for SVG wrapping in shrLars Ingebrigtsen2019-09-191-9/+9
| | | | | * lisp/net/shr.el (svg--wrap-svg): Add the size to the wrapper to avoid having the SVG images shrink (bug#37159).
* Fix :version in recent commitLars Ingebrigtsen2019-09-191-6/+3
| | | | * lisp/pcmpl-gnu.el (pcmpl-gnu-makefile-includes): Fix :version.
* Fix a bug in callback functions in align-areasLars Ingebrigtsen2019-09-191-3/+6
| | | | | | * lisp/align.el (align-areas): When given a callback function and JUSTIFY, pick out the correct parameters (bug#30139). Suggested by "John Wiegley" <johnw@gnu.org>.
* Also prefer .emacs.d if .emacs existsPaul Eggert2019-09-191-1/+8
| | | | | | Problem reported by Katsumi Yamaoka (Bug#37456). * lisp/startup.el (startup--xdg-or-homedot): Also prefer .emacs.d if a traditional .emacs file exists.
* lisp/*.el, src/*.c: Fix typos in docstringsJuanma Barranquero2019-09-1945-80/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/apropos.el (apropos-do-all): * lisp/auth-source-pass.el (auth-source-pass--select-from-entries): * lisp/auth-source.el (auth-source-user-or-password): * lisp/calc/calc-forms.el (math-tzone-names): * lisp/calendar/diary-lib.el (diary-face-attrs) (diary-mark-entries-1): * lisp/cedet/cedet-files.el (cedet-files-list-recursively): * lisp/cedet/ede.el (ede-constructing, ede-deep-rescan): * lisp/cedet/ede/cpp-root.el (ede-cpp-root-header-file-p): * lisp/cedet/ede/proj.el (ede-proj-target-makefile): * lisp/cedet/inversion.el (inversion-check-version) (inversion-test): * lisp/cedet/mode-local.el (mode-local-map-file-buffers): * lisp/cedet/semantic/complete.el (semantic-displayer-ghost): * lisp/cedet/semantic/db-find.el (semanticdb-find-translate-path-default): * lisp/cedet/semantic/db.el (semanticdb-table) (semanticdb-search-system-databases): * lisp/cedet/semantic/imenu.el (semantic-imenu-index-directory): * lisp/cedet/semantic/java.el (semantic-java-doc-keywords-map): * lisp/cedet/semantic/lex-spp.el (semantic-lex-spp-use-headers-flag): * lisp/cedet/semantic/lex.el (semantic-lex-make-keyword-table) (semantic-lex-make-type-table, semantic-lex-debug-analyzers): * lisp/cedet/semantic/tag-ls.el (semantic-tag-abstract-p) (semantic-tag-leaf-p, semantic-tag-static-p) (semantic-tag-prototype-p): * lisp/dnd.el (dnd-open-remote-file-function, dnd-open-local-file): * lisp/emacs-lisp/eieio-opt.el (eieio-build-class-alist) (eieio-read-class, eieio-read-subclass): * lisp/emacs-lisp/generator.el (cps--replace-variable-references) (cps--handle-loop-for): * lisp/erc/erc-dcc.el (erc-dcc-list, erc-dcc-member, erc-dcc-server) (erc-dcc-auto-mask-p, erc-dcc-get-file, erc-dcc-chat-accept): * lisp/eshell/em-pred.el (eshell-pred-file-type): * lisp/faces.el (defined-colors-with-face-attributes): * lisp/font-core.el (font-lock-mode): * lisp/frame.el (frame-restack): * lisp/net/shr.el (shr-image-animate): * lisp/org/org-agenda.el (org-agenda-change-all-lines) (org-agenda-today-p): * lisp/org/org-id.el (org-id-get): * lisp/org/org.el (org-highlight-latex-and-related) (org--valid-property-p): * lisp/org/ox-beamer.el (org-beamer--get-label): * lisp/org/ox-latex.el (org-latex--caption-above-p): * lisp/org/ox-odt.el (org-odt--copy-image-file) (org-odt--copy-formula-file): * lisp/org/ox.el (org-export-with-timestamps): * lisp/progmodes/verilog-mode.el (verilog-indent-declaration-macros): * lisp/ses.el (ses-file-format-extend-parameter-list): * lisp/term.el (ansi-term): * lisp/textmodes/bibtex.el (bibtex-no-opt-remove-re) (bibtex-beginning-of-first-entry, bibtex-autokey-get-title) (bibtex-read-key, bibtex-initialize): * lisp/textmodes/flyspell.el (flyspell-word): * lisp/view.el (view-mode-exit): * src/composite.c: * src/floatfns.c (Fisnan): Fix typos in docstrings.
* Merge commit '107ce3050fc37b9a13d8304ae1bb73fac9de5f61'Stephen Leake2019-09-1852-313/+619
|\
| * * lisp/isearch.el (isearch-lazy-highlight-update): Remember timer objectJuri Linkov2019-09-191-3/+3
| | | | | | | | | | | | | | | | | | in isearch-lazy-highlight-timer to cancel it in lazy-highlight-cleanup. (isearch-done): No need to set isearch-lazy-highlight-start to nil - it used to reset lazy-highlight loop like isearch-lazy-highlight-window-start, but now other packages set isearch-lazy-highlight-last-string to nil to reset lazy-highlight loop.
| * Fix up the previous mh-mime warning suppressionLars Ingebrigtsen2019-09-182-61/+65
| | | | | | | | | | | | | | | | * lisp/mh-e/mh-acros.el (mh-dlet*): Suppress warnings about prefix-less bindings. * lisp/mh-e/mh-mime.el (mh-insert-mime-security-button): Remove the warning removal here. (mh-insert-mime-button): And here.
| * 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).