summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* Add comment about internal mapping symbolscratch/with-suppressed-warningsLars Ingebrigtsen2019-06-101-0/+3
|
* Avoid adding a second progn layer if there's already a progn thereLars Ingebrigtsen2019-06-101-1/+1
|
* Remove the interstital unused function and clean up the macro defLars Ingebrigtsen2019-06-101-12/+4
|
* Fix up the non-toplevel form to mimick no-warnings syntacticallyLars Ingebrigtsen2019-06-091-2/+1
|
* Use internal variable name for byte-compile--suppressed-warningsLars Ingebrigtsen2019-06-091-6/+7
|
* Doc string alignmentLars Ingebrigtsen2019-06-091-1/+1
|
* Doc touch upLars Ingebrigtsen2019-06-091-12/+12
|
* Doc touch upLars Ingebrigtsen2019-06-091-2/+2
|
* We need byte-compile-progn in the non-toplevel case apparentlyLars Ingebrigtsen2019-06-091-5/+6
|
* Expand the doc string to with-suppressed-warnings.Lars Ingebrigtsen2019-06-091-2/+4
|
* Add a doc string to with-suppressed-warnings.Lars Ingebrigtsen2019-06-091-1/+21
|
* Enable suppression of more warningsLars Ingebrigtsen2019-06-091-10/+12
|
* Enable suppression of a number of warningsLars Ingebrigtsen2019-06-091-9/+9
|
* Use byte-compile-initial-macro-environment to avoid intermediary functionLars Ingebrigtsen2019-06-092-13/+20
|
* Initial implementationLars Ingebrigtsen2019-06-092-6/+43
|
* Fix TODO to convert defvar with leading '*' to defcustomStefan Kangas2019-06-094-10/+16
| | | | | | | | | | | | | | | | * etc/TODO: Remove done TODO to remove '*' from defvar. * doc/misc/gnus.texi: Remove leading '*' from defvar example. * lisp/kermit.el (kermit-esc-char): Convert to defcustom. * lisp/desktop.el (desktop-header): * lisp/obsolete/cc-compat.el (c-indent-level) (c-brace-imaginary-offset, c-brace-offset, c-argdecl-indent) (c-label-offset, c-continued-statement-offset) (c-continued-brace-offset): Remove leading '*' from docstring. * lisp/progmodes/dcl-mode.el: Remove leading '*' from docstring in comment. * test/manual/cedet/tests/test.el: Add comment asking if example of defvar with leading '*' should be removed. (Bug#35994) (The previous commit is also for the same bug.)
* Fix TODO to remove leading '*' from defcustomStefan Kangas2019-06-091-1/+1
| | | | | | | * etc/TODO: Remove done TODO to remove leading '*' from defcustom doc-strings. * lisp/ibuffer.el (ibuffer-inline-columns): Remove leading '*' from doc-string.
* Mark define-widget-keywords as obsoleteStefan Kangas2019-06-091-0/+1
| | | | | * lisp/widget.el (define-widget-keywords): Mark as obsolete. (Bug#36065)
* Use lexical-binding in underline.el and add testsStefan Kangas2019-06-091-1/+1
| | | | | | * lisp/textmodes/underline.el: Use lexical-binding. * test/lisp/textmodes/underline-tests.el: New file. (Bug#36063)
* Checkdoc fixes in lisp/bookmark.elStefan Kangas2019-06-091-19/+23
| | | | | | | | | | * lisp/bookmark.el (bookmark-bmenu-inline-header-height) (bookmark-bmenu-marks-width, bookmark-map, bookmark-quit-flag) (bookmark-name-from-full-record, bookmark-set-internal) (bookmark-insert-annotation, bookmark--jump-via) (bookmark-bmenu-set-header, bookmark-show-annotation) (bookmark-bmenu-other-window-with-mouse, bookmark-bmenu-relocate): Checkdoc docstring fixes. (Bug#35916)
* ; Fix recent maintainer header removalsGlenn Morris2019-06-089-0/+9
| | | | The convention is that no "Maintainer" means "Author" is the maintainer.
* ; * lisp/eshell/esh-util.el (eshell-get-path): Doc fix.Eli Zaretskii2019-06-081-2/+2
|
* Fix path for current directory in eshell on MS-WindowsBernhard Rotter2019-06-083-6/+10
| | | | | | | | | On MS-Windows, PATH implicitly includes the current directory. Do it right for Eshell by adding "./" instead of ".", to avoid finding .FOO instead of ./FOO. * lisp/eshell/esh-util.el (eshell-get-path): New function. * lisp/eshell/em-cmpl.el (eshell-complete-commands-list): * lisp/eshell/esh-ext.el (eshell-search-path): Use eshell-get-path.
* Make icalendar-import-buffer not show diary file bufferThomas Fitzsimmons2019-06-072-33/+30
| | | | | | | | | * lisp/calendar/diary-lib.el (diary-make-entry): Add omit-trailing-space parameter. Add do-not-show parameter to allow not showing diary file buffer. * lisp/calendar/icalendar.el (icalendar--add-diary-entry): Remove workaround to omit trailing space in diary entry. Have diary-make-entry not display the diary file buffer. (Bug#35645)
* * lisp/gnus: Further reduce assumptions about gnus-data formatStefan Monnier2019-06-073-36/+26
| | | | | | | | | | | | | | | | | * lisp/gnus/gnus-registry.el (gnus-registry-fetch-message-id-fast) (gnus-registry-fetch-simplified-message-subject-fast) (gnus-registry-fetch-sender-fast, gnus-registry-fetch-recipients-fast) (gnus-registry--set/remove-mark): Don't hardcode assoc for gnus-data-find-in. * lisp/gnus/gnus-sum.el (gnus-data-update-list): Don't hardcode `nth 2` for gnus-data-pos. (gnus-summary-insert-old-articles, gnus-summary-insert-new-articles) (gnus-summary-first-article-p): Don't hardcode `car` for `gnus-data-number`. (gnus-summary-move-article, gnus-summary-expire-articles) (gnus-summary-delete-article): Don't hardcode assoc for gnus-data-find-in. * lisp/gnus/spam.el (spam-fetch-article-header): Don't hardcode `nth 3` for gnus-data-header.
* Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacsEli Zaretskii2019-06-075-8/+17
|\
| * Make mouse-wheel-scroll-amount consistent among platformsTak Kunihiro2019-06-071-4/+0
| | | | | | | | | | * lisp/term/ns-win.el (mouse-wheel-scroll-amount): Do not put any values on mouse-wheel-scroll-amount on ns.
| * Merge from origin/emacs-26Glenn Morris2019-06-073-3/+14
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9254885 (origin/emacs-26) Resurrect display-line-number-mode in clien... aecbbd5 * src/fns.c (Fmapconcat): Doc fix. (Bug#35710) 8e5fc38 Fix typo ee21b40 * lisp/term/w32-win.el ([noname]): Bind to 'ignore'. (Bug#36... f68b33f Fix styling of Unicode codepoints in manuals ff7ec6f Fix a few uses of quotes in user manual b67042b More minor copyedits in the Emacs manual 9734b5c Fix minor issues in the Emacs manual c153250 Try to improve text on atomic windows in Elisp manual fb314ba Don't recommend insert-before-markers in process filters
| | * Resurrect display-line-number-mode in client framesEli Zaretskii2019-06-072-3/+5
| | | | | | | | | | | | | | | | | | | | | * lisp/linum.el (linum-on): Mention bug#35726 in a comment. * lisp/display-line-numbers.el (display-line-numbers--turn-on): Don't check for daemon. (Bug#35726)
| | * * lisp/term/w32-win.el ([noname]): Bind to 'ignore'. (Bug#36083)Eli Zaretskii2019-06-061-0/+9
| | |
| | * Disable byte-compile-cond-use-jump-table (Bug#35770)Noam Postavsky2019-06-011-2/+2
| | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile-cond-use-jump-table): Set to nil by default. Don't merge to master, the bug is already fixed there.
| * | Merge from origin/emacs-26Glenn Morris2019-06-071-1/+3
| |\ \ | | |/ | | | | | | 2860285 Allow macros autoloaded as functions during bytecomp (Bug#36022)
| | * Allow macros autoloaded as functions during bytecomp (Bug#36022)Noam Postavsky2019-06-011-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile-callargs-warn): Don't pass symbols which don't have a known definition to byte-compile--function-signature, it fails to compile code which previously compiled successfully (for example, gnus.el until 2019-06-01 "* lisp/gnus/gnus.el: Mark autoloaded macros as such" which autoloads some macros as if they were functions).
* | | Merge remote-tracking branch 'origin/harfbuzz'Eli Zaretskii2019-06-079-26/+31
|\ \ \ | |/ / |/| |
| * | Merge branch 'master' into harfbuzzYAMAMOTO Mitsuharu2019-05-23437-3275/+3502
| |\ \
| * \ \ Merge branch 'master' into harfbuzzYAMAMOTO Mitsuharu2019-04-271453-14606/+19323
| |\ \ \
| * | | | Provide text directionality and language to HarfBuzz shaperEli Zaretskii2018-12-299-26/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/language/tv-util.el (tai-viet-composition-function): * lisp/language/ethio-util.el (ethio-composition-function): * lisp/language/japanese.el (compose-gstring-for-variation-glyph): * lisp/language/thai-util.el (thai-composition-function): * lisp/language/misc-lang.el (arabic-shape-gstring): * lisp/language/lao-util.el (lao-composition-function): * lisp/language/hebrew.el (hebrew-shape-gstring): * lisp/composite.el (compose-gstring-for-graphic) (compose-gstring-for-dotted-circle, auto-compose-chars) (compose-gstring-for-terminal): Accept 2nd argument DIRECTION; all callers changed. * src/composite.c (composition_reseat_it): Call auto-composition-function with one more argument DIRECTION. (syms_of_composite) <auto-composition-function>: Update the doc string. * src/ftfont.c (ftfont_shape_by_hb): Compute language and direction, and set buffer properties accordingly. * src/composite.c (autocmp_chars): * src/w32uniscribe.c (uniscribe_shape): * src/xftfont.c (xftfont_shape): * src/ftfont.c (ftfont_shape, ftfont_shape_by_hb): * src/font.c (Ffont_shape_gstring): Accept an additional argument DIRECTION. * src/macfont.m (lgstring_direction): New enum. (mac_font_shape_1, mac_screen_font_shape, mac_font_shape): Accept an additional argument specifying text direction. All callers changed. * src/font.c (syms_of_font): New symbols QL2R and QR2L. * src/font.h (shape): Accept new argument DIRECTION. All implementations changed. (Bug#33729) (ftfont_shape): Update prototype.
* | | | | Consider line spacing and font height when deriving proc window sizeJohn Shahid2019-06-072-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/window.el (window-adjust-process-window-size): Use window-screen-lines instead of window-body-height. * lisp/term.el (term-mode): Use window-screen-lines to set the initial window height.
* | | | | Add "pin" to password-word-equivalents (Bug#35523)Noam Postavsky2019-06-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/international/mule-conf.el (password-word-equivalents): Add "pin". * test/lisp/comint-tests.el (comint-testsuite-password-strings): Add test case.
* | | | | lisp/gnus/message.el (message--send-mail-maybe-partially): ExtractOleh Krehel2019-06-061-30/+33
| | | | |
* | | | | lisp/gnus/message.el (message--check-continuation-headers): ExtractOleh Krehel2019-06-061-21/+13
| | | | |
* | | | | lisp/gnus/message.el (message--fold-long-headers): Add docstringOleh Krehel2019-06-061-3/+3
| | | | |
* | | | | Check rcirc-server for auto authentication (Bug#10162)Steve Scott2019-06-051-10/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the hostname returned by irc.freenode.net can be something other than irc.freenode.net, e.g. niven.freenode.net, the entries for rcirc-authinfo and rcirc-server-alist will not match. * lisp/net/rcirc.el (rcirc-handler-001): Check rcirc-server (the hostname connected to) instead of rcirc-server-name (the hostname returned), this corresponds with what rcirc-authenticate does. Moreover, if rcirc-auto-authenticate-flag is set, check the corresponding rcirc-authinfo, regardless of whether the rcirc-authenticate-before-join must happen. Copyright-paperwork-exempt: yes
* | | | | Keep nxml prolog updated via syntax-propertizeNoam Postavsky2019-06-052-26/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of using after-change-functions. Also, stop consulting nxml-prolog-regions during syntax-propertize. It turns out the problems fixed by using prolog information are actually due to using the wrong syntax table during propertizing. This was fixed in 2019-06-04 "* lisp/emacs-lisp/syntax.el: Use syntax-ppss-table for syntax-propertize." so consulting the prolog data is no longer needed. * lisp/nxml/nxml-rap.el (nxml-maybe-rescan-prolog): Remove. * lisp/nxml/nxml-mode.el (nxml-mode): Stop using it. (nxml-syntax-propertize): Don't use nxml-prolog-regions, just call nxml-scan-prolog if needed before delegating to sgml-syntax-propertize. * test/lisp/nxml/nxml-mode-tests.el (nxml-mode-edit-prolog): New test.
* | | | | Add native image rotation and croppingAlan Third2019-06-051-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/image.el (image--get-imagemagick-and-warn): Only fallback to ImageMagick if native transforms aren't available. * src/dispextern.h (INIT_MATRIX, COPY_MATRIX, MULT_MATRICES): New macros for matrix manipulation. (HAVE_NATIVE_SCALING, HAVE_NATIVE_TRANSFORMS): Rename and change all relevant locations. * src/image.c (x_set_image_rotation): (x_set_transform): New functions. (x_set_image_size): Use transform matrix for resizing under X and NS. (x_set_image_crop): New function. (lookup_image): Use the new transform functions. (Fimage_scaling_p, Fimage_transforms_p): Rename and update all callers. * src/nsimage.m (ns_load_image): Remove rotation code. (ns_image_set_transform): New function. ([EmacsImage dealloc]): Release the saved transform. ([EmacsImage rotate:]): Remove unneeded method. ([EmacsImage setTransform:]): New method. * src/nsterm.h (EmacsImage): Add transform property and update method definitions. * src/nsterm.m (ns_dumpglyphs_image): Use the transform to draw the image correctly. * src/xterm.c (x_composite_image): Use PictOpSrc as we don't care about alpha values here. * doc/lispref/display.texi (Image Descriptors): Add :rotation. (ImageMagick Images): Remove :rotation.
* | | | | * lisp/wid-edit.el (widget-choose): Use display-buffer-in-directionJuri Linkov2019-06-052-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to display buffer in bottom direction with fit-window-to-buffer. * lisp/proced.el (proced-with-processes-buffer): Idem. (Bug#35592)
* | | | | Do not use syntax-ppss-table in syntax-propertize when nil (Bug#36095)Dario Gjorgjevski2019-06-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/syntax.el (syntax-propertize): Use (syntax-table) instead of syntax-ppss-table when the latter is nil.
* | | | | * lisp/emacs-lisp/syntax.el: Use syntax-ppss-table for syntax-propertize.Stefan Monnier2019-06-041-39/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `syntax-ppss` uses `syntax-ppss-table` while parsing the buffer as well as when it calls `syntax-propertize`, but `syntax-propertize` can also be called directly rather than via `syntax-ppss` so it needs to explicitly use `syntax-ppss-table` as well in order to avoid using sometimes one table and sometimes another. (syntax-ppss-table): Move before new use. (syntax-propertize): Use it.
* | | | | Remove retired maintainers from commentsPaul Eggert2019-06-0414-18/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/international/quail.el, lisp/language/ind-util.el: * lisp/language/indian.el, lisp/mail/smtpmail.el, lisp/mwheel.el: * lisp/obsolete/longlines.el, lisp/progmodes/idlw-complete-structtag.el: * lisp/progmodes/idlw-help.el, lisp/progmodes/idlw-shell.el: * lisp/progmodes/idlw-toolbar.el, lisp/progmodes/idlwave.el: * lisp/progmodes/simula.el, lisp/ps-print.el, lisp/ps-samp.el: Remove Maintainer: lines for maintainers who have retired.
* | | | | * lisp/emacs-lisp/thunk.el (thunk-delay): Fix memory leakStefan Monnier2019-06-041-10/+9
| | | | | | | | | | | | | | | | | | | | | | | | | Get rid of references to the free variables of `body` once the thunk has been forced (bug#30626).