summaryrefslogtreecommitdiff
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-142-51/+69
| | | | | | | | | | | | | | * 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-1417-0/+11029
| | | | | | | | | | | | | | | | | | | | | | | | 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-1350-542/+790
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Port to IBM xlc 12.01Paul Eggert2017-11-131-13/+10
| | | | | | | | | | Work around a compiler bug by using a separate enum for alignment. * src/alloc.c (roundup_size): Declare in a separate enum.
| * Simplify by removing HAVE_STRUCT_ATTRIBUTE_ALIGNEDPaul Eggert2017-11-133-34/+0
| | | | | | | | | | | | | | | | | | * configure.ac (HAVE_STRUCT_ATTRIBUTE_ALIGNED): Remove. No longer needed, since we no longer rely on __attribute__ ((aligned (8))). All uses removed. * src/emacs-module.c (HAVE_STRUCT_ATTRIBUTE_ALIGNED): Remove. (lisp_to_value): Simplify now that we no longer need to worry whether HAVE_STRUCT_ATTRIBUTE_ALIGNED is false.
| * Use alignas to fix GCALIGN-related bugsPaul Eggert2017-11-1316-377/+367
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use alignas and unions to specify alignments of objects needing addresses that are at least a multiple of GCALIGNMENT. Using these standard C facilities should be safer than relying on ad hoc and poorly-understood features like GCC’s __attribute__ ((aligned (N))), the root cause for recent porting bugs like Bug#29040. The alignas macro was standardized by C11 and Gnulib supports alignas for pre-C11 platforms. I have tested this on Sun Studio 12 sparc (2007) and GCC 4.4.7 x86-64 (2012) as well as on more recent platforms like GCC 7.2.1 (2017) on Fedora 26 (both x86-64 and x86). * lib-src/make-docfile.c (close_emacs_globals): lispsym is now just an array of struct Lisp_Symbol, since struct Lisp_Symbol is now properly aligned. All uses changed. * src/alloc.c (NEXT_FREE_LISP_STRING): Just use the new u.next member; this is simpler and safer than casting a pointer that might not be aligned properly. (aligned_Lisp_Symbol): Remove. No longer needed, now that struct Lisp_Symbol is aligned properly. All uses replaced with struct Lisp_Symbol. * src/lisp.h (GCALIGNED): Remove, as it does not work as expected: it can cause the natural alignment to be ignored. All uses replaced by unions with a ‘char alignas (GCALIGNMENT)’ member as described below. (struct Lisp_Symbol, struct Lisp_Cons, struct Lisp_String): Change definition from ‘struct TAG { MEMBERS };’ to ‘struct TAG { union { struct { MEMBERS } s; char alignas (GCALIGNMENT) gcaligned; } u; };’. This guarantees ‘struct TAG’ to have an alignment that at least max (GCALIGNMENT, N) where N is its old alignment. All uses like ‘PTR->MEMBER’ changed to ‘PTR->u.s.MEMBER’; these uses were supposed to be mostly private anyway. Verify that the resulting ‘struct TAG’ is properly aligned for Emacs. (union vectorlike_header): New member ‘gcaligned’ to guarantee that this type, and its containing types like ‘struct Lisp_Subr’, ‘struct buffer’ and ‘struct thread_state’, are all properly aligned for Emacs. (struct Lisp_String): New union member ‘next’, for the benefit of NEXT_FREE_LISP_STRING. (union Aligned_Cons, union Aligned_String): Remove. All uses replaced by struct Lisp_Cons and struct Lisp_String, since they are now properly aligned. (USE_STACK_CONS, USE_STACK_STRING): Simplify now that we can assume struct Lisp_Cons and struct Lisp_String are properly aligned.
| * Change vectorlike from struct to unionPaul Eggert2017-11-1313-35/+35
| | | | | | | | | | | | | | * src/lisp.h (vectorlike_headed): Change from struct to union. All uses changed. Since it has only one member, this does not change semantics. This is designed to simplify future changes needed to fix bugs like Bug#29040. All uses changed.
| * 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
| |
| * Unbreak interactive run of a flymake test (bug#29267)João Távora2017-11-121-1/+4
| | | | | | | | | | | | | | | | See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=19657#20 for the technique used here. * test/lisp/progmodes/flymake-tests.el (ruby-backend): Let-bind abbreviated-home-dir.
| * Fix Bug#29225Michael Albinus2017-11-122-38/+216
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/fileio.c (Fset_file_acl): Report error only when acl_errno_valid returns true. (Bug#29225) * test/lisp/net/tramp-tests.el (tramp-test24-file-acl) (tramp-test25-file-selinux): New tests. (tramp-test26-file-name-completion, tramp-test27-load) (tramp-test28-process-file, tramp-test29-start-file-process) (tramp-test30-interrupt-process, tramp-test31-shell-command) (tramp-test32-environment-variables) (tramp-test32-environment-variables-and-port-numbers) (tramp-test33-explicit-shell-file-name) (tramp-test34-vc-registered) (tramp-test35-make-auto-save-file-name) (tramp-test36-find-backup-file-name) (tramp-test37-make-nearby-temp-file) (tramp-test38-special-characters) (tramp-test38-special-characters-with-stat) (tramp-test38-special-characters-with-perl) (tramp-test38-special-characters-with-ls, tramp-test39-utf8) (tramp-test39-utf8-with-stat, tramp-test39-utf8-with-perl) (tramp-test39-utf8-with-ls, tramp-test40-file-system-info) (tramp-test41-asynchronous-requests) (tramp-test42-recursive-load, tramp-test43-remote-load-path) (tramp-test44-delay-load, tramp-test45-unload): Rename.
| * 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.
| * Merge from GnulibPaul Eggert2017-11-1110-25/+92
| | | | | | | | | | | | | | | | | | | | | | This incorporates: 2017-11-11 faccessat: port to macOS (Bug#29231) 2017-11-05 fstatat: pacify GCC on unusual platform * build-aux/config.guess, build-aux/config.sub: * doc/misc/texinfo.tex, lib/faccessat.c, lib/fstatat.c: * lib/unistd.in.h, m4/faccessat.m4, m4/unistd_h.m4: Copy from Gnulib. * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
| * Pacify GCC when configured --with-x-toolkit=noPaul Eggert2017-11-112-1/+5
| | | | | | | | | | | | | | | | Without these changes, Emacs does not build on Fedora 26 x86-64 when configured --with-x-toolkit=no --enable-gcc-warnings. * oldXMenu/Activate.c (XMenuActivate): Add FALLTHROUGH. * src/xterm.c (x_dispatch_event): Define only if USE_X_TOOLKIT || USE_MOTIF || USE_GTK.
| * * 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-112-6/+42
| | | | | | | | | | | | | | | | * 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-1120-100/+237
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Fix comparisons with tip_frame in GTK buildsEli Zaretskii2017-11-113-4/+20
| | | | | | | | | | | | | | * src/xterm.c (x_update_begin, x_new_font): * src/xfns.c (Fx_display_monitor_attributes_list): * src/frame.c (Fframe_list) [USE_GTK]: Don't consider tip_frame a tooltip frame unless its 'tooltip' parameter is non-nil. (Bug#26747)
| * Improve the documentation of M-n for entering file namesEli Zaretskii2017-11-113-6/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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)
| * Fix off-by-1 bug in --enable-checking=stringbytesPaul Eggert2017-11-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Evidently nobody builds Emacs with --enable-checking=all, which is no surprise as it is so slow as to be unusable nowadays. Perhaps we should remove the slowest checks, or move them into another category, or speed them up, or something. * src/alloc.c (SDATA_SIZE) [GC_CHECK_STRING_BYTES]: Fix off-by-one error in size calculation, which caused a failure when --enable-checking=stringbytes was used. I introduced this bug in 2016-09-08T01:08:45!eggert@cs.ucla.edu "Port flexible array members to GCC + valgrind".
| * 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 display of line numbers in GTK buildsEli Zaretskii2017-11-102-1/+14
| | | | | | | | | | | | | | | | | | * src/xdisp.c (should_produce_line_number) [USE_GTK]: Make sure tip_frame is indeed a tooltip frame, before disabling line numbers on it. (Bug#27647) * src/dispextern.h (tip_frame): Add commentary describing the kludgey usage of this variable in GTK builds.
| * 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.