summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* EUDC: Remove inline requires of bbdb in BBDB backendscratch/eudc-bbdb-3Thomas Fitzsimmons2018-04-161-5/+0
| | | | | | | | | | * lisp/net/eudcb-bbdb.el (eudc-bbdb-filter-non-matching-record): Remove inline require of bbdb. (eudc-bbdb-extract-phones): Likewise. (eudc-bbdb-extract-addresses): Likewise. (eudc-bbdb-format-record-as-result): Likewise. (eudc-bbdb-query-internal): Likewise.
* BBDB: Import GNU ELPA externals/bbdb branch tipThomas Fitzsimmons2018-01-2710-59/+266
| | | | | | | | | 4c20a48de0 bbdb-tex-alist, bbdb-tex-address-layout: Declare defcustom... b959fdd06d * bbdb-vm.el: Don't require VM when compiled. 4ab0a77d38 Update copyright; update README. 19b6a48ee3 Go back to version 0 c6082d6f3e Add files bbdb-gnus.el and bbdb-vm.el. 0cff90e09c Fix declarations for byte compiler. Use file tex-site.el.
* EUDC: Enable BBDB backend by defaultThomas Fitzsimmons2017-11-261-1/+1
| | | | | * lisp/net/eudc-vars.el (eudc-server-hotlist): Add default list item for BBDB.
* EUDC: Obsolete eudc--using-bbdb-3-or-newer-p for 27.1Thomas Fitzsimmons2017-11-221-1/+1
| | | | | * lisp/net/eudc.el (eudc--using-bbdb-3-or-newer-p): Mark function obsolete as of 27.1.
* EUDC: Port eudc-export.el to BBDB >= 3Thomas Fitzsimmons2017-11-211-11/+5
| | | | | | | * lisp/net/eudc-export.el (eudc-create-bbdb-record): Only support BBDB >= 3 arguments to `bbdb-create-internal' call. (eudc-bbdbify-phone): Only call BBDB >= 3 bbdb-parse-phone function.
* EUDC: Wrap long lines in eudc-export.elThomas Fitzsimmons2017-11-181-8/+23
| | | | | | | * lisp/net/eudc-export.el (eudc-create-bbdb-record): Wrap long lines. (eudc-parse-spec): Likewise. (eudc-bbdbify-phone): Likewise.
* EUDC: Fix whitespace in eudc-export.elThomas Fitzsimmons2017-11-141-1/+1
| | | | | * lisp/net/eudc-export.el (bbdb-parse-phone-number): Fix whitespace.
* EUDC: Require bbdb, bbdb-com without NOERRORThomas Fitzsimmons2017-11-141-4/+2
| | | | | * lisp/net/eudc-export.el: Require bbdb and bbdb-com without ignoring errors.
* EUDC: Obsolete eudc--using-bbdb-3-or-newer-pThomas Fitzsimmons2017-11-141-0/+1
| | | | | * lisp/net/eudc.el (eudc--using-bbdb-3-or-newer-p): Mark function obsolete.
* EUDC: Port BBDB backend to BBDB >= 3Thomas Fitzsimmons2017-11-141-39/+50
| | | | | | | | | | | | | | * lisp/net/eudcb-bbdb.el (eudc-bbdb-field): Convert BBDB < 3 field names to BBDB >= 3 field names. (eudc-bbdb-format-query): Support old and new BBDB field names. (eudc-bbdb-filter-non-matching-record): Add support for both BBDB < 3 field names and BBDB >= 3 field names. (eudc-bbdb-extract-phones): Likewise. (eudc-bbdb-extract-addresses): Likewise. (eudc-bbdb-format-record-as-result): Likewise. * doc/misc/eudc.texi (Creating BBDB Records): Document EUDC BBDB field name support.
* EUDC: Remove external BBDB function declarationsThomas Fitzsimmons2017-11-141-13/+0
| | | | | * lisp/net/eudcb-bbdb.el (eudc-bbdb-extract-phones): Remove declare-function calls for external BBDB functions.
* EUDC: Require bbdb and bbdb-com without ignoring errorsThomas Fitzsimmons2017-11-141-4/+2
| | | | | * lisp/net/eudcb-bbdb.el: Require bbdb and bbdb-com without ignoring errors.
* EUDC: Fix issues reported by checkdocThomas Fitzsimmons2017-11-141-3/+7
| | | | * lisp/net/eudcb-bbdb.el: Fix issues reported by checkdoc.
* EUDC: Print multiple BBDB addresses properlyThomas Fitzsimmons2017-11-141-0/+1
| | | | | * lisp/net/eudcb-bbdb.el (eudc-bbdb-extract-addresses): Reset val to nil on each mapcar lambda invocation.
* EUDC: Keep phone and address lists in BBDB-orderThomas Fitzsimmons2017-11-141-27/+30
| | | | | | | * lisp/net/eudcb-bbdb.el (eudc-bbdb-extract-phones): Return phone numbers in the same order in which they are stored in BBDB. (eudc-bbdb-extract-addresses): Likewise.
* EUDC: Wrap long line in BBDB backendThomas Fitzsimmons2017-11-141-1/+2
| | | | | * lisp/net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result): Wrap long line.
* EUDC: Fix whitespace in BBDB backendThomas Fitzsimmons2017-11-141-42/+42
| | | | | | | * lisp/net/eudcb-bbdb.el (eudc-bbdb-format-query): Fix whitespace. (eudc-bbdb-filter-non-matching-record): Likewise. (eudc-bbdb-extract-addresses): Likewise.
* EUDC: Fix indentation in BBDB backendThomas Fitzsimmons2017-11-141-5/+5
| | | | | | * lisp/net/eudcb-bbdb.el (eudc-bbdb-format-query): Fix indentation. (eudc-bbdb-filter-non-matching-record): Likewise.
* BBDB: Import BBDB 3Thomas Fitzsimmons2017-11-1415-0/+10936
| | | | | | | | | | | | | | | | | | | | | | | | Import revision 5ac6dbf7e9676d1e239b4f66fad54711e8da4341 from the externals/bbdb branch of git.sv.gnu.org:/srv/git/emacs/elpa.git. * doc/misc/bbdb.texi, lisp/bbdb/bbdb-anniv.el, lisp/bbdb/bbdb-com.el, lisp/bbdb/bbdb-ispell.el, lisp/bbdb/bbdb-message.el, lisp/bbdb/bbdb-mhe.el, lisp/bbdb/bbdb-migrate.el, lisp/bbdb/bbdb-mu4e.el, lisp/bbdb/bbdb-mua.el, lisp/bbdb/bbdb-pgp.el, lisp/bbdb/bbdb-rmail.el, lisp/bbdb/bbdb-snarf.el, lisp/bbdb/bbdb-tex.el, lisp/bbdb/bbdb-wl.el, lisp/bbdb/bbdb.el, lisp/bbdb/tex/bbdb.sty: New files. * .gitignore: Add lisp/bbdb/subdirs.el.
* Fix name of gnus-summary-sort-by-mark(s)Eric Abrahamsen2017-11-131-1/+1
| | | | | * lisp/gnus/gnus-sum.el (gnus-summary-sort-by-marks): Needs the "s", according to docs and keymap both.
* Merge from origin/emacs-26Paul Eggert2017-11-135-19/+30
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 79108894db Port to IBM xlc 12.01 d14956099d Simplify by removing HAVE_STRUCT_ATTRIBUTE_ALIGNED b1573a97e1 Use alignas to fix GCALIGN-related bugs 5d68dc9a2f Change vectorlike from struct to union 6aa0a26b46 Don't enable cursor-sensor-mode in mhtml-mode 2b8ef8dddf * lisp/files.el (abbreviate-file-name): Doc fix. (Bug#29267) fe85ce1e16 Unbreak interactive run of a flymake test (bug#29267) 48ad00390d Fix Bug#29225 42daf83f08 CC Mode: Fix defun-open being recognized as brace-list-ope... 7775c47298 Merge from Gnulib e470d16448 Pacify GCC when configured --with-x-toolkit=no 49450d0951 * lisp/find-dired.el (find-grep-dired): Doc fix. (Bug#29262) e286b3381f Fix more flymake-diag-region eob corner cases and add test... # Conflicts: # src/lisp.h
| * Don't enable cursor-sensor-mode in mhtml-modeTom Tromey2017-11-121-3/+2
| | | | | | | | | | | | * lisp/textmodes/mhtml-mode.el (mhtml--last-submode): Update doc string. (mhtml-mode): Don't call cursor-sensor-mode.
| * * lisp/files.el (abbreviate-file-name): Doc fix. (Bug#29267)Eli Zaretskii2017-11-121-1/+7
| |
| * CC Mode: Fix defun-open being recognized as brace-list-open at EOB.Alan Mackenzie2017-11-121-6/+8
| | | | | | | | | | * lisp/progmodes/cc-engine.el (c-looking-at-statement-block): Add handling for an open brace at EOB and nested braces inside an unclosed brace block.
| * * lisp/find-dired.el (find-grep-dired): Doc fix. (Bug#29262)Eli Zaretskii2017-11-121-3/+3
| |
| * Fix more flymake-diag-region eob corner cases and add tests (bug#29201)João Távora2017-11-111-6/+10
| | | | | | | | | | | | | | | | * lisp/progmodes/flymake.el (flymake-diag-region): Correct more eob corner cases. * test/lisp/progmodes/flymake-tests.el (eob-region-and-trailing-newline): New test.
* | * lisp/gnus/gnus-srvr.el: Avoid custom-set-variablesStefan Monnier2017-11-131-1/+1
| | | | | | | | | | * lisp/gnus/gnus-srvr.el (gnus-server-toggle-cloud-method-server): Prefer customize-set-variable.
* | Rename Man-build-section-alist (bug#28998)Basil L. Contovounesios2017-11-112-6/+6
| | | | | | | | | | | | | | | | | | The defsubst Man-build-section-alist builds and returns a list of strings, so rename it to Man-build-section-list and make it a defun. * lisp/man.el (Man-build-section-alist): Do it and reduce syntax. (Man-goto-page): * lisp/woman.el (woman-find-file): Use it.
* | ; Merge from emacs-26Noam Postavsky2017-11-1111-82/+156
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9533d76b0b Keep Man sections in natural order (bug#28998) d63c9a96f5 * lisp/minibuffer.el: Install a workaround for bug#16274 7657a86709 Fix comparisons with tip_frame in GTK builds 603a0716a8 Improve the documentation of M-n for entering file names 72f813fb56 Fix desktop auto-save timer when linum-mode is used 44340b475f Fix "C-h k" in xterm-mouse-mode 05aa6d4a68 Fix off-by-1 bug in --enable-checking=stringbytes 096f638ddc Correct the indentation of C99's compound literals. c52a2aa8f3 Improve the doc string of 'dired-isearch-filter-filenames' e592b92482 * lisp/isearch.el (search-invisible): Doc fix. (Bug#29222) f3e69a80ab Fix display of line numbers in GTK builds e6f1fd4091 Fix previous change to flymake-diag-region (bug#29174) 89382780e1 flymake-diag-region really returns nil if region is invali... 535688a418 Flymake correctly highlights whole last line if eob (bug#2... 72e62d3fdb Protect Flymake checkdoc backend against checkdoc errors (... b28de57411 Sort entries of the Flymake diagnostics buffer (bug#29175) fc56bea142 Correctly indent C++14 brace lists which are a second argu... 9dde8be9cd Fix redisplay of overlay-arrows on GUI frames 0da08f2f8e Protect Flymake tests against older Ruby and Perl (bug#29187) 781f276cc1 Fix URL cookie expiration bug
| * Keep Man sections in natural order (bug#28998)Basil L. Contovounesios2017-11-111-1/+2
| | | | | | | | * lisp/man.el (Man-build-section-alist): Reverse sections.
| * * lisp/minibuffer.el: Install a workaround for bug#16274Stefan Monnier2017-11-111-2/+9
| | | | | | | | | | * lisp/minibuffer.el (completion--nth-completion): Avoid signaling an error when `md` is applied to another table.
| * Improve the documentation of M-n for entering file namesEli Zaretskii2017-11-111-3/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/files.el (find-file, find-file-other-window) (find-file-other-frame): Mention file-name-at-point-functions in the doc string. Reported by Florian Weimer <fw@deneb.enyo.de> in http://lists.gnu.org/archive/html/emacs-devel/2017-11/msg00224.html. * doc/emacs/mini.texi (Minibuffer History): Document file-name-at-point-functions and its effect on M-n when typing file names in the minibuffer. * doc/emacs/files.texi (File Names): * doc/emacs/mini.texi (Minibuffer File): Add a cross-reference to "Minibuffer History", where special features of M-n regarding files are described.
| * Fix desktop auto-save timer when linum-mode is usedEli Zaretskii2017-11-111-1/+7
| | | | | | | | | | | | | | * lisp/desktop.el (desktop-read): Use toplevel value of window-configuration-change-hook when deciding whether desktop auto-saving is enabled. Suggested by Peter Neidhardt <pe.neidhardt@googlemail.com>. (Bug#28945)
| * Fix "C-h k" in xterm-mouse-modeOlaf Rogalsky2017-11-111-6/+10
| | | | | | | | | | | | * lisp/help.el (help-read-key-sequence): Support "C-h k" for xterm-mouse-mode by calling read-key-sequence-vector instead of read-event. (Bug#29150)
| * Correct the indentation of C99's compound literals.Alan Mackenzie2017-11-101-12/+25
| | | | | | | | | | | | | | | | | | * lisp/progmodes/cc-engine.el (c-looking-at-statement-block): Amend so that if there is only syntactic whitespace in a brace block, it is regarded as a statement block. Also, if there is no semicolon or comma delimiter, treat as a statement block when there is a keyword. (c-guess-basic-syntax): CASE 9 test: Regard a brace as starting a brace block when its contents indicate a brace block.
| * Improve the doc string of 'dired-isearch-filter-filenames'Eli Zaretskii2017-11-101-3/+3
| | | | | | | | | | * lisp/dired-aux.el (dired-isearch-filter-filenames): Doc fix. (Bug#29215)
| * * lisp/isearch.el (search-invisible): Doc fix. (Bug#29222)Eli Zaretskii2017-11-101-3/+4
| |
| * Fix previous change to flymake-diag-region (bug#29174)João Távora2017-11-101-1/+1
| | | | | | | | | | * lisp/progmodes/flymake.el (flymake-diag-region): Pass line and col to commit.
| * flymake-diag-region really returns nil if region is invalid (bug#29174)João Távora2017-11-091-1/+2
| | | | | | | | | | | | | | Reported by Lele Gaifax <lele@metapensiero.it>. * lisp/progmodes/flymake.el (flymake-diag-region): Really return nil if the region is invalid.
| * Flymake correctly highlights whole last line if eob (bug#29201)João Távora2017-11-091-1/+2
| | | | | | | | | | | | | | | | | | | | If a line/column pair indicates an end-of-buffer position, flymake should behave like the case where the last line of the buffer is referenced without a column indication. This behavior is currently to highlight the whole last line. * lisp/progmodes/flymake.el (flymake-diag-region): Correct conditions of fallback to the fallback-eol local function.
| * Protect Flymake checkdoc backend against checkdoc errors (bug#29176)João Távora2017-11-091-1/+5
| | | | | | | | | | | | | | | | | | The function checkdoc-current-buffer may error if there are unbalanced parens, for example, but this shouldn't disable the elisp-flymake-checkdoc backend. * lisp/progmodes/elisp-mode.el (elisp-flymake-checkdoc): Use ignore-errors.
| * Sort entries of the Flymake diagnostics buffer (bug#29175)João Távora2017-11-091-1/+2
| | | | | | | | | | | | | | Reported by Lele Gaifax <lele@metapensiero.it>. * lisp/progmodes/flymake.el (flymake--diagnostics-buffer-entries): Sort results of flymake-diagnostics.
| * Correctly indent C++14 brace lists which are a second argument to a function.Alan Mackenzie2017-11-091-47/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In particular, don't indent contained brace lists in "staircase" fashion. This fixes bug #28623. * lisp/progmodes/cc-engine.el (c-looking-at-or-maybe-in-bracelist): When testing for being enclosed in parens, recognise also a brace directly following a comma, as well as a brace being the first thing inside the paren. Enhance the return value, by indicating when we're directly inside an open paren. (c-inside-bracelist-p): Add an extra argument ACCEPT-IN-PARAM which indicates whether we will accept a bracelist directly inside an open parenthesis. Simplify the manipulation of PAREN-STATE by dispensing with variable LIM and using c-pull-open-brace. Enhance the return value, respecting the new argument. (c-guess-basic-syntax): Save a copy of the initial parse-state in the new variable STATE-CACHE. Use this variable in place of C-STATE-CACHE throughout the function. At CASE 7B, call c-inside-bracelist-p with extra argument nil. At CASE 9, call that function with extra argument t.
| * Fix URL cookie expiration bugPaul Eggert2017-11-081-1/+1
| | | | | | | | | | | | | | Problem reported by Damien Cassou (Bug#29223). * lisp/url/url-cookie.el (url-cookie-expired-p): Fix typo in previous change, which caused unexpired cookies to be treated as expired and vice versa.
* | Provide more control over writing of objects in object-writeEric Abrahamsen2017-11-101-10/+25
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/eieio.el (eieio-print-indentation, eieio-print-object-name): New variables controlling whether an object name is printed for each object, and whether an object's contents are indented or not. Object names are obsoleted; omitting indentation reduces the size of persistence files.
* | Merge from origin/emacs-26Paul Eggert2017-11-081-1/+17
|\ \ | |/ | | | | | | | | | | | | 9e59de9449 Use GCALIGNED properly for GCC b9d7c90260 In f90.el, set fill-paragraph-function to a useful value # Conflicts: # src/lisp.h
| * In f90.el, set fill-paragraph-function to a useful valueGlenn Morris2017-11-081-1/+17
| | | | | | | | | | | | * lisp/progmodes/f90.el (f90-mode-map) <menu>: Add fill-paragraph. (f90-mode): Set fill-paragraph-function. (f90-fill-paragraph): New command.
| * Fix to 2fddfb7ce7Eric Abrahamsen2017-11-081-2/+2
| | | | | | | | | | * lisp/emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object): Fix bogus paren wrapping.
* | Merge from origin/emacs-26Paul Eggert2017-11-081-1/+1
|\ \ | |/ | | | | | | 6c3031399b * admin/gitmerge.el (gitmerge-resolve-unmerged): Fix doc t... 98288ecaff Further workaround for faulty localtime() under macOS 10.6
| * Further workaround for faulty localtime() under macOS 10.6Charles A. Roelli2017-11-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/org/org-clock.el (org-clock--oldest-date): Fix an issue when compiling on macOS 10.6 with a western time zone (a continuation of Bug#27736). In particular, see: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27736#74 and the first commit that attempted to work around this problem, "Workaround for faulty localtime() under macOS 10.6", bd49b6f1 of 2017-09-30.