aboutsummaryrefslogtreecommitdiffstats
path: root/lisp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Ignore invalid base64 encoded embedded imagesLars Magne Ingebrigtsen2016-03-201-1/+2
| | | | | * lisp/net/shr.el (shr-image-from-data): Ignore invalid base64 encoded embedded images (bug#22928).
* Render empty <ul><li><ul> correctlyLars Magne Ingebrigtsen2016-03-201-0/+4
| | | | | * lisp/net/shr.el (shr-tag-ul): Render empty <ul><li><ul> correctly (bug#22964).
* Fix <p> and <div> newlines with or without <li> in shrLars Magne Ingebrigtsen2016-03-201-3/+12
| | | | | | | | | * lisp/net/shr.el (shr-ensure-newline): Respect that we're in a <li>, if we are, and don't insert newlines there. (shr-ensure-paragraph): When mixing newlines and paragraph ensurements, don't insert too many blank lines. (shr-tag-div): A <div> shouldn't introduce a paragraph, but a new line.
* Remove code left over from when overlays were used for paddingLars Magne Ingebrigtsen2016-03-201-26/+0
| | | | | | * lisp/net/shr.el (shr-previous-newline-padding-width): Remove. (shr-remove-trailing-whitespace): Ditto. (shr-insert-document): Don't call them.
* Remove trailing blank lines in shrLars Magne Ingebrigtsen2016-03-201-0/+14
| | | | | | * lisp/net/shr.el (shr--remove-blank-lines-at-the-end): New function. (shr-insert-document): Use it to remove trailing blank lines at the end of documents, since these never seem to be very useful.
* Don't bug out on nil `patch-buf' argumentsLars Magne Ingebrigtsen2016-03-201-2/+2
| | | | | * lisp/vc/ediff.el (ediff-patch-file): Don't bug out on nil `patch-buf' arguments.
* Add a Catalan language environmentErnest Adrogué2016-03-203-1/+25
| | | | | | | | | | | | * international/mule-cmds.el (locale-language-names): Map locale language name `ca' to language environment `Catalan'. * language/european.el: Add definition of language environment for the Catalan language. * leim/quail/latin-pre.el: Add quail rule to the `catalan-prefix' input method to support input of middle dot characters through composition (bug#18279).
* * lisp/vc/vc-hooks.el: Fix typoOscar Fuentes2016-03-191-1/+1
|
* make `vc-log-operation' buffer local to allow multiple simultaneous editingSam Steingold2016-03-171-1/+2
|
* Simplify some rococo Gnus code that loads or tests for other libraries.Glenn Morris2016-03-174-34/+10
| | | | | | | | | | * lisp/gnus/gnus-art.el (gnus-treat-ansi-sequences): Simplify default. * lisp/gnus/mml-smime.el (epg): Simply require it. (mml-smime-use): Simplify the default. Doc fix. * lisp/gnus/mml2015.el (epg-config): Require it. (mml2015-use): Simplify the default. * lisp/gnus/smime.el (password-cache): Simply require it. (password-read-and-add): Remove declaration.
* Sync with soap-client repository, version 3.1.1Thomas Fitzsimmons2016-03-161-56/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/soap-client.el (soap-encode-xs-complex-type): Fix error message. (soap-find-port): Delete trailing whitespace. (soap-find-operation): Fix documentation and rename parameter. (soap-find-port): Likewise. (soap-operation-arity): Likewise. * lisp/net/soap-client.el: Update copyright years. (soap-warning): Fix docstring quoting. (soap-decode-date-time): Likewise. (soap-validate-xs-simple-type): Remove tabs for indentation. * lisp/net/soap-inspect.el: Update copyright years. * lisp/net/soap-client.el (soap-encode-xs-basic-type): Do not assume xsd:base64Binary values are UTF-8 strings. (soap-decode-xs-basic-type): Likewise. (soap-invoke): Document xsd:base64Binary handling. * lisp/net/soap-client.el (soap-find-port, soap-find-operation) (soap-operation-arity): new defuns (soap-invoke-internal): use soap-find-port, soap-find-operation. Co-authored-by: Alex Harsanyi <AlexHarsanyi@gmail.com>
* Disable MOVE more for DovecotLars Magne Ingebrigtsen2016-03-141-2/+4
| | | | | | * lisp/gnus/nnimap.el (nnimap-process-expiry-targets): Also disable MOVE when expirying. (nnimap-split-incoming-mail): And when splitting mail.
* Don't use MOVE on DovecotLars Magne Ingebrigtsen2016-03-141-2/+4
| | | | | | * lisp/gnus/nnimap.el (nnimap-request-move-article): Don't use MOVE on Dovecot, since it's broken in many versions. (nnimap-quirks): Mark MOVE on Dovecot as non-working.
* Update handling of <bdo> per Unicode 9.0Eli Zaretskii2016-03-121-2/+2
| | | | | * lisp/net/shr.el (shr-tag-bdo): Wrap in FSI..PDI as well, per Unicode 9.0 changes in UAX#9, paragraph 2.7.
* Merge from origin/emacs-25John Wiegley2016-03-1110-103/+127
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | facb5e2 Update Emacs manual section related to character folding 4efea8e ; * etc/DEBUG: Fix a typo. (Bug#22984) f8df21b Update admin/notes/unicode 950be68 Add symref-filepattern entries for c?perl-mode 8b8a6ad Don't use XRANDR 1.3 extensions if the server doesn't support them. 985dacf ; NEWS update for the last change in etags 741a6f8 Sync with gnulib 7352c6c Rework C source files to avoid ^( a589e9a By default, etags produces unqualified Perl tag names 72c7438 Indent methods with keyword names correctly 28532a9 Propertize character literals and special global variables differently a7d6f39 ; Fix last change in NEWS 83b2a20 Change how /etc/NEWS presents character folding b417c5a Revert "Revert "Backport: * lisp/isearch.el: Turn char-folding off by default"" 711ca36 Properly handle lambda as read function (bug 22961) 1b9d616 Propertize operator symbol names with symbol syntax class 9b16bc2 Stop recognizing :#{} as symbol in ruby-mode 366ec77 Allow using the left shift operator without spaces on both sides 02bf7cc Properly handle unquoting in wdired (bug 22938) 16cf469 ; Spelling fix and tighten up comment f50bc04 Allow splat operator before percent literal 991c801 Don't apply the return value of goto-char as syntax class 6e63b3e Guard against nested percent literals 066f3bc Recognize iuwu-mod after an escaped newline 6f7a57c Fix symbolic mode string conversion for s and t 50b9826 Update 'ucs-names' database 993b2fb Improve doc string of 'shell-command' b71c717 Make the code in movemail_strftime more general cc057e4 Speed up redisplay of binary files with long series of nulls e51b27e Remove the highlighting support for quoting 'like this' inside Lisp docstrings b1abce1 Restore leading space in movemail pop output 98b8d44 Fix bidi-paragraph-direction in Rmail view buffer dc9d837 Don't misindent computed property generator methods 7923112 Fix mbox files produced by movemail on MS-Windows c45a1ca doc string file descriptor exhaustion fix 265141b Fix Bug#22814
| * Add symref-filepattern entries for c?perl-modeDmitry Gutov2016-03-111-0/+2
| | | | | | | | | | | | * lisp/cedet/semantic/symref/grep.el (semantic-symref-filepattern-alist): Add entries for perl-mode and cperl-mode.
| * Indent methods with keyword names correctlyDmitry Gutov2016-03-101-5/+9
| | | | | | | | | | | | * lisp/progmodes/ruby-mode.el (ruby-smie--at-dot-call): Rename to ruby-smie--before-method-name. Now also check if we're after a 'def' keyword. Update both callers.
| * Propertize character literals and special global variables differentlyDmitry Gutov2016-03-101-3/+5
| | | | | | | | | | | | | | | | | | * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize): Propertize character literals and global variables with special names with prefix and symbol syntax classes, for SMIE to tokenize them together automatically. (ruby-font-lock-keywords): Fix an old regression in highlighting character literals.
| * Revert "Revert "Backport: * lisp/isearch.el: Turn char-folding off by default""John Wiegley2016-03-091-1/+1
| | | | | | | | This reverts commit a91b4b51ddf2575d821adb8b84fdf32cff83886e.
| * Propertize operator symbol names with symbol syntax classDmitry Gutov2016-03-091-22/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize): Do it here. (ruby-font-lock-keywords): Instead of handling them here. Leave highlighting them to the "normal" matcher, because now we can. (ruby-smie--forward-token, ruby-smie--backward-token): Likewise, don't special-case operator symbols anymore. (ruby-smie--args-separator-p): Simplify the regexp, match operator names with \s_. (ruby-smie--implicit-semi-p): Handle the special cases of ? and = at EOL the same way: check if the character has been assigned the symbol syntax class by syntax-propertize.
| * Stop recognizing :#{} as symbol in ruby-modeDmitry Gutov2016-03-091-2/+2
| | | | | | | | | | | | | | * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove the weird part that recognized colon followed by interpolation construct without quotes (e.g. ':#{abc}') as symbol, which is just a syntax error in any modern version of Ruby. Fix nearby bug reference.
| * Allow using the left shift operator without spaces on both sidesDmitry Gutov2016-03-091-10/+16
| | | | | | | | | | | | | | | | | | * lisp/progmodes/ruby-mode.el (ruby-singleton-class-p): Rename to ruby-verify-heredoc, reverse the meaning of the return value, and short-circuit if preceded by a symbol not separated by whitespace. * test/automated/ruby-mode-tests.el (ruby-no-heredoc-left-shift) (ruby-no-heredoc-class-self): New tests.
| * Properly handle unquoting in wdired (bug 22938)Andreas Schwab2016-03-081-10/+12
| | | | | | | | | | | | | | | | | | The recorded old names are not quoted, don't unquote them. * lisp/wdired.el (wdired-normalize-filename): Add argument unquotep, only unquote if non-nil. (wdired-get-filename): Don't unquote the old file name. (wdired-get-previous-link): Always unquote.
| * ; Spelling fix and tighten up commentPaul Eggert2016-03-081-2/+2
| |
| * Allow splat operator before percent literalDmitry Gutov2016-03-071-1/+1
| | | | | | | | | | * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize): Allow splat operator before percent literal.
| * Don't apply the return value of goto-char as syntax classDmitry Gutov2016-03-071-1/+2
| | | | | | | | | | * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize): Don't apply the return value of goto-char as syntax class.
| * Guard against nested percent literalsDmitry Gutov2016-03-071-30/+31
| | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-percent-literal): Don't check the syntax status. (ruby-syntax-propertize): Check it here. And also guard against being in a larger percent literal. * test/automated/ruby-mode-tests.el (ruby-no-nested-percent-literals): New test.
| * Recognize iuwu-mod after an escaped newlineDmitry Gutov2016-03-071-2/+7
| | | | | | | | | | | | | | * lisp/progmodes/ruby-mode.el (ruby-smie--bosp): Check if the newline is escaped. (ruby-smie-rules): Indent iuwu-mod after an escaped newline correctly.
| * Fix symbolic mode string conversion for s and tAndreas Schwab2016-03-071-3/+3
| | | | | | | | | | | | * lisp/files.el (file-modes-char-to-right): Fix values for ?s and ?t. (file-modes-symbolic-to-number): Default to a for ts permissions.
| * Update 'ucs-names' databaseEli Zaretskii2016-03-061-4/+8
| | | | | | | | | | * lisp/international/mule-cmds.el (ucs-names): Update used and unused ranges from the latest UnicodeData.txt.
| * Improve doc string of 'shell-command'Eli Zaretskii2016-03-061-0/+2
| | | | | | | | | | * lisp/simple.el (shell-command): Mention that COMMAND is prompted for. (Bug#22926)
| * Remove the highlighting support for quoting 'like this' inside Lisp docstringsDmitry Gutov2016-03-061-4/+4
| | | | | | | | | | | | | | | | | | | | | | Remove the highlighting support for quoting 'like this' inside Lisp docstrings. This part of c4151ebe15479de4c2e511b068cdf9af6a4576cf seems to have been unintentional, considering substitute-command-keys gives wrong output for such usage. * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2) (lisp-cl-font-lock-keywords-2): Do not highlight text between two straight quotes as symbol.
| * Fix bidi-paragraph-direction in Rmail view bufferEli Zaretskii2016-03-051-1/+6
| | | | | | | | | | | | * lisp/mail/rmail.el (rmail-show-message-1): Reset bidi-paragraph-direction to nil before formatting the message for display.
| * Don't misindent computed property generator methodsDmitry Gutov2016-03-051-5/+6
| | | | | | | | | | | | * lisp/progmodes/js.el (js--looking-at-operator-p): Don't misindent computed property generator methods (https://github.com/mooz/js2-mode/issues/317).
| * Fix insertion of edited servers in the dribble fileLars Ingebrigtsen2016-03-041-1/+1
| | | | | | | | | | | | | | | | | | * lisp/gnus/gnus-srvr.el (gnus-server-update-server): Don't insert explicit newlines, because they're quoted (bug#22903). Backport: (cherry picked from commit ca4e30058eba0531f38fff75f14734acffab84ea)
* | Merge from origin/emacs-25John Wiegley2016-03-116-26/+60
|\ \ | |/ | | | | | | | | | | | | | | | | 620951f Fix previous fix of enlarge-/shrink-window 2e78353 * lisp/isearch.el (isearch-define-mode-toggle): Fix toggling logic 66d2717 Complete temperature units in calc-convert-temperature dbb02bf Make sure to use case-sensitive search 8b01e69 Prevent infinite loop on not-well-formed xml. (Bug#16344) 100346a Add the missing test case for the previous patch 5aba61e Use the correct dabbrev expansion
| * Fix previous fix of enlarge-/shrink-windowMartin Rudalics2016-03-041-16/+31
| | | | | | | | | | | | | | | | | | * lisp/window.el (enlarge-window, shrink-window): Consistently signal user-error instead of error. Resize minibuffer window by delta lines instead of pixels. When a window cannot be resized, signal an error only when this function was invoked by a command in the enlarge-/shrink-window group (this restores the behavior before the fix of bug#22723 for the non-interactive case).
| * * lisp/isearch.el (isearch-define-mode-toggle): Fix toggling logicArtur Malabarba2016-03-031-1/+3
| |
| * Complete temperature units in calc-convert-temperatureMark Oteiza2016-03-031-5/+12
| | | | | | | | | | * lisp/calc/calc-units.el (calc-convert-temperature): Complete with temperature units in math-standard-units.
| * Make sure to use case-sensitive searchDmitry Gutov2016-03-031-0/+1
| | | | | | | | | | * lisp/progmodes/xref.el (xref-collect-references): Make sure to use case-sensitive search.
| * Prevent infinite loop on not-well-formed xml. (Bug#16344)Ulf Jasper2016-03-021-1/+8
| | | | | | | | | | | | * lisp/xml.el (xml-parse-tag-1): Prevent inifinite loop. (Bug#16344) * test/automated/xml-parse-tests.el (xml-parse-tests--bad-data): Add test cases for Bug#16344.
| * Use the correct dabbrev expansionAlan Third2016-03-021-3/+5
| | | | | | | | | | | | | | | | lisp/dabbrev.el (dabbrev--substitute-expansion): Return EXPANSION after any processing. lisp/dabbrev.el (dabbrev-expand): Set EXPANSION to the return value of DABBREV--SUBSTITUTE-EXPANSION. test/automated/dabbrev-tests.el (dabbrev-expand-test): Test for bug#1948.
| * ; Auto-commit of loaddefs files.emacs-25.0.92Nicolas Petton2016-03-021-1236/+1257
| |
* | Remove compat code in TrampMichael Albinus2016-03-111-37/+29
| | | | | | | | | | * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell): Remove compat code.
* | * lisp/textmodes/tex-mode.el: Complete local envs. Use #'.Stefan Monnier2016-03-101-27/+49
| | | | | | | | | | | | | | | | Use #' for function names. (latex-complete-envnames): Include existing environments in current buffer. (latex-insert-block): Use latex-complete-envnames. (tildify-foreach-ignore-environments): Declare.
* | Add new function display-buffer-reuse-mode-windowNicolas Richard2016-03-101-0/+65
| | | | | | | | | | * lisp/window.el (display-buffer-reuse-mode-window): New function. * doc/lispref/windows.texi (Display Action Functions): Document it.
* | declare `rmail-mime-entity-truncated' and `rmail-mime-render-html-function'Sam Steingold2016-03-091-0/+2
| | | | | | | | | | The former avoids a compiler warning, the latter fixes a bug whereas the variable is compiled as lexical instead of dynamic.
* | Optionally reuse tooltip frames instead of deleting/recreating them.Martin Rudalics2016-03-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/frame.c (tooltip_reuse_hidden_frame): New option. * src/w32fns.c (x_create_tip_frame): Remove argument TEXT. Fix handling of dividers. (x_hide_tip): New function. (Fx_show_tip): Try to reuse old tooltip frame when `tooltip-reuse-hidden-frame' is non-nil and frame parameters have not changed. Insert STRING here instead of passing it to x_create_tip_frame. Compute size of tooltip window with Fwindow_text_pixel_size. Obey Vw32_tooltip_extra_pixels when padding tooltip window. (Fx_hide_tip): Call x_hide_tip. (Vw32_tooltip_extra_pixels): New variable. * src/xdisp.c (Fwindow_text_pixel_size): Don't return negative y value. Fix doc-string. * src/xfns.c (x_create_tip_frame): Remove argument TEXT. Call make_frame with mini_p argument false. (x_hide_tip): New function. (Fx_show_tip): Try to reuse old tooltip frame when `tooltip-reuse-hidden-frame' is non-nil and frame parameters have not changed. Insert STRING here instead of passing it to x_create_tip_frame. Compute size of tooltip window with Fwindow_text_pixel_size. (Fx_hide_tip): Call x_hide_tip. * lisp/cus-start.el (tooltip-reuse-hidden-frame): Add customization entry.
* | Assume getaddrinfo in C codePaul Eggert2016-03-072-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * admin/CPP-DEFINES, configure.ac: Remove HAVE_GETADDRINFO, HAVE_H_ERRNO. All uses removed. * doc/lispref/processes.texi (Network, Network Processes), etc/NEWS: Say that port numbers can be integer strings. * lib-src/pop.c (h_errno) [!WINDOWSNT && !HAVE_H_ERRNO]: Remove decl. (socket_connection): Assume HAVE_GETADDRINFO. * lisp/mpc.el (mpc--proc-connect): * lisp/net/network-stream.el (open-network-stream): It’s now OK to use integer strings as port numbers. * src/process.c (conv_numerical_to_lisp) [!HAVE_GETADDRINFO]: Remove. (Fmake_network_process): Assume HAVE_GETADDRINFO.
* | Remove support for IRIXPaul Eggert2016-03-077-19/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The IRIX port wasn’t really working anyway, and the code was getting in the way of other changes (e.g., getaddrinfo fixes). IRIX’s supplier dropped support for IRIX in 2013. * admin/CPP-DEFINES: * configure.ac (opsys): * doc/lispref/os.texi (System Environment): * etc/MACHINES, etc/PROBLEMS: * lisp/find-dired.el (find-grep-options): * lisp/lpr.el (lpr-lp-system): * lisp/ls-lisp.el (ls-lisp-emulation): * lisp/mail/rmail.el (rmail-spool-directory): * lisp/net/net-utils.el (ping-program-options): * lisp/progmodes/gud.el (gud-irix-p, gud-dbx-use-stopformat-p): * lisp/progmodes/ps-mode.el (ps-mode-print-function): * src/conf_post.h [IRIX6_5]: * src/emacs.c (Vsystem_type): * src/filelock.c (get_boot_time_1): * src/process.c (process_send_signal): * src/unexelf.c (unexec): Omit IRIX-specific code and/or documentation. * configure.ac (NON_GCC_TEST_OPTIONS, IRIX6_5, PREFER_VSUSP): Remove. All uses removed. * etc/NEWS: Document the change.