1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-20 10:23:57 +00:00
Commit Graph

110852 Commits

Author SHA1 Message Date
Glenn Morris
3a019ab4c3 Auto-commit of generated files. 2013-05-08 06:17:38 -04:00
Adam Spiers
dc7466df67 * lisp/cus-edit.el (custom-save-variables): Pretty-print long values.
Fixes: debbugs:14187
2013-05-07 23:59:41 -07:00
Glenn Morris
9ecf672a9f m4-mode misc small cleanup
* lisp/progmodes/m4-mode.el (m4-program): Assume it is in PATH.
(m4-mode-syntax-table): Init in the defvar.
(m4-mode-abbrev-table): Let define-derived-mode define it.
2013-05-07 23:56:37 -07:00
Tom Tromey
3f555be861 * lisp/progmodes/m4-mode.el (m4-mode-syntax-table):
Do not treat "_" as word constituent.

Fixes: debbugs:14167
2013-05-07 23:43:42 -07:00
Paul Eggert
ffdc270a76 Use Gnulib ACL implementation, for benefit of Solaris etc.
* configure.ac: Remove -with-acl option, since Gnulib does that for
us now.
(LIBACL_LIBS): Remove; no longer needed.
* lib/Makefile.am (CLEANFILES, SUFFIXES): New (empty) macros,
for the benefit of the new ACL implementation.
* lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/acl-errno-valid.$(O).
($(BLD)/acl-errno-valid.$(O)): New rule.
* lib/acl-errno-valid.c, lib/acl-internal.h, lib/acl.h:
* lib/acl_entries.c, lib/errno.in.h, lib/file-has-acl.c:
* lib/qcopy-acl.c, lib/qset-acl.c, m4/acl.m4, m4/errno_h.m4:
New files, taken from gnulib.
* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
* admin/merge-gnulib (GNULIB_MODULES): Add qacl.
(GNULIB_TOOL_FLAGS): Do not avoid errno.
* etc/NEWS: Emacs is no longer limited to POSIX ACLs.  --disable-acl,
not --without-acl, since we're now using Gnulib's implementation.
* nt/config.nt (HAVE_ACL_SET_FILE): Rename from HAVE_POSIX_ACL.
* nt/inc/ms-w32.h (EOPNOTSUPP): New macro.
* src/Makefile.in (LIB_ACL): New macro.
(LIBACL_LIBS): Remove.
(LIBES): Use LIB_ACL, not LIBACL_LIBS.
* src/fileio.c: Include <acl.h>.
Use HAVE_ACL_SET_FILE rather than HAVE_POSIX_ACL.
(ACL_NOT_WELL_SUPPORTED): Remove.  All uses replaced by
!acl_errno_valid.
(Fcopy_file) [!WINDOWSNT]: Use qcopy_acl instead of rolling
it ourselves.

Fixes: debbugs:14295
2013-05-07 14:34:03 -07:00
Paul Eggert
ad64371062 Comment fix, to match Gnulib upstream copy. 2013-05-07 14:04:51 -07:00
Paul Eggert
f269bc61c1 * unexelf.c: Don't assume ElfW (Half) fits in int.
(entry_address, find_section, unexec): Use ptrdiff_t, not int,
when dealing with ElfW (Half) values, since they can exceed 2**31
on 64-bit OpenBSD hosts.  Problem reported privately by Han Boetes.
(entry_address): Omit unused NUM arg.  All uses changed.
2013-05-07 13:55:47 -07:00
Juri Linkov
a261c53eae * src/callint.c (Fcall_interactively): Set `visargs[i]' for code 'n'
to the string converted from number with `Fnumber_to_string'.

Fixes: debbugs:14254
2013-05-07 23:49:46 +03:00
Paul Eggert
2b66427ded * xfns.c (x_get_net_workarea): Define only if !GTK || GTK<3.4.
This fixes a problem introduced by my previous change.
2013-05-07 12:25:42 -07:00
Glenn Morris
15acfe419f * src/lread.c (readchar): Don't read from a dead buffer. (Bug#14280) 2013-05-07 15:15:08 -04:00
Glenn Morris
54c57cc6c7 * lisp/progmodes/perl-mode.el (perl-prettify-symbols): Add :version. 2013-05-07 14:06:13 -04:00
Jan Djärv
5ea03bf5a1 * xfns.c: Move misplaced ifndef USE_GTK from previous checkin. 2013-05-07 19:47:25 +02:00
Stefan Monnier
276e88731b * buffer.c (tab-width): Mention that it doesn't control indentation. 2013-05-07 10:12:57 -04:00
Stefan Monnier
07ff4ac605 * callint.c (Fcall_interactively): Explain what is `visargs'. 2013-05-07 09:54:31 -04:00
Katsumi Yamaoka
269db0534b gnus-art.el (gnus-article-describe-bindings): Add a comment 2013-05-07 11:43:38 +00:00
Katsumi Yamaoka
83f0d8b7c3 lisp/gnus/ChangeLog: Revert last bogus change 2013-05-07 10:24:15 +00:00
Katsumi Yamaoka
2d90f2c995 lisp/gnus/ChangeLog: Remove `(Bug#14356)' in the 2013-05-07 entry 2013-05-07 10:21:50 +00:00
Glenn Morris
910833aef4 Auto-commit of generated files. 2013-05-07 06:17:37 -04:00
Glenn Morris
4f58bc066d * lisp/eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
Remove explicit eshell-isearch-cancel-map.
2013-05-07 00:57:02 -07:00
Glenn Morris
7cc8ae065c * lisp/progmodes/f90.el (f90-smart-end-names): New option.
(f90-smart-end): Doc fix.
(f90-end-block-optional-name): New constant.
(f90-block-match): Respect f90-smart-end-names.

* etc/NEWS: Mention this.
2013-05-07 00:05:21 -07:00
Paul Eggert
e0c9d56505 Static checking by GCC 4.8.0.
* xfns.c (x_get_net_workarea, struct MonitorInfo, free_monitors)
(x_get_monitor_for_frame, x_make_monitor_attribute_list)
(x_get_monitor_attributes_fallback)
(x_get_monitor_attributes_xinerama)
(x_get_monitor_attributes_xrandr, x_get_monitor_attributes):
Define only if USE_GTK.
(free_monitors): Define only if HAVE_XINERAMA || HAVE_XRANDR.
(x_get_monitor_attributes_fallback): Omit unused locals.
(x_get_monitor_attributes_xinerama, Fx_display_monitor_attributes_list):
Use double, not float, to avoid mixed-mode floating point arithmetic.
2013-05-06 22:34:01 -07:00
Leo Liu
150194c32f * progmodes/octave.el (octave-smie-forward-token): Fix typo. 2013-05-07 12:53:31 +08:00
Stefan Monnier
ceb57e5997 * lisp/progmodes/octave.el (octave-smie-forward-token): Be more careful
about implicit semi-colons.

Fixes: debbugs:14218
2013-05-07 00:05:43 -04:00
YAMAMOTO Mitsuharu
4e3f92301d Add multi-monitor support on X11. 2013-05-07 10:12:22 +09:00
Katsumi Yamaoka
af69a478c0 gnus-art.el (gnus-article-describe-bindings): Require help-mode because of let-binding help-xref-followin (Bug#14356) 2013-05-07 00:28:12 +00:00
Leo Liu
203a557223 * progmodes/octave.el (octave-syntax-propertize-function): Change
\'s syntax to escape when inside double-quoted strings. 
(octave-font-lock-keywords): Use octave-operator-regexp.
(octave-completion-at-point): Renamed from
octave-completion-at-point-function.
(inferior-octave-directory-tracker): Robustify.
(octave-text-functions): Remove and fix its uses.  No such things
any more.

Fixes: debbugs:14332
2013-05-07 07:46:07 +08:00
Tassilo Horn
06a73f4edb lisp/gnus/message.el (message-bury, message-send-and-exit): Revert 2013-05-04 change 2013-05-06 22:39:36 +00:00
Stefan Monnier
ee6cff9923 * lisp/emacs-lisp/trace.el (trace--display-buffer): New function.
(trace-make-advice): Use it.
2013-05-06 18:33:24 -04:00
Juri Linkov
32985194f2 * lisp/emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.
(eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1): Doc fix.
(emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
in the help string.  (Bug#12985)

Fixes: debbugs:14344
2013-05-06 23:23:40 +03:00
Kelly Dean
a1c700dec5 * lisp/simple.el (shell-command-on-region): Doc fix.
Fixes: debbugs:14279
2013-05-06 23:11:40 +03:00
Stefan Monnier
323885fd82 * lisp/progmodes/perl-mode.el: Add support for here documents.
(perl-syntax-propertize-function): Match here-doc markers.
(perl-syntax-propertize-special-constructs): Find their end.
(perl-imenu-generic-expression): Use [:alnum:].
2013-05-06 15:33:56 -04:00
Eli Zaretskii
05839b6aff Fix bug #14241 with posn-at-point at the beginning of an image display prop.
src/xdisp.c (pos_visible_p): Use the special code for finding the
 beginning of a display property or overlay for any "replacing"
 display property, not just for display strings.  This solves
 incorrect reporting of position by posn-at-point.
2013-05-06 20:11:07 +03:00
Glenn Morris
e65500d969 * lisp/find-file.el (cc-other-file-alist): Bump :version. 2013-05-06 08:46:31 -07:00
Stefan Monnier
c67c08396a * lisp/emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
(advice--add-function): Refresh the advice if already present.

Fixes: debbugs:14317
2013-05-06 11:27:11 -04:00
Paul Eggert
7a6018ad21 Merge from gnulib.
This incorporates:
2013-04-30 utimens, utimensat: work around Solaris UTIME_OMIT bug
2013-05-06 06:37:42 -07:00
Ivan Andrus
d491e7a83f * lisp/find-file.el (cc-other-file-alist): Add ".m" for ObjC.
Fixes: debbugs:14339
2013-05-06 00:40:58 -07:00
Glenn Morris
7cc3af27a1 * lisp/w32-fns.el (w32-charset-info-alist): Declare. 2013-05-06 00:29:26 -07:00
Glenn Morris
16e343d686 * lisp/eshell/em-cmpl.el: Simply require pcomplete;
eg we use a bunch of its defcustom properties.
(eshell-cmpl-initialize): No need to load pcomplete.
2013-05-06 00:20:35 -07:00
Glenn Morris
7d889a47ec * lisp/generic-x.el: No need to require comint when compiling. 2013-05-06 00:18:36 -07:00
Glenn Morris
7b92bf9813 * lisp/gnus/mml2015.el (mml2015-epg-sign): Add name="signature.asc".
Fixes: debbugs:13465
2013-05-06 00:16:34 -07:00
Glenn Morris
ddf9925e26 * net/eudc-export.el: Make it loadable without bbdb.
(top-level): Use require rather than load-library.
(eudc-create-bbdb-record, eudc-bbdbify-phone)
(eudc-batch-export-records-to-bbdb)
(eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
Require bbdb.
2013-05-06 00:14:03 -07:00
Glenn Morris
a8899b6b3a More missing :version tags for defcustoms 2013-05-06 00:10:31 -07:00
Paul Eggert
5ee94506f6 * unexelf.c: Fix some 32-bit integer problems, notably when debugging.
Include <limits.h>, <stdbool.h>, <intprops.h>, <verify.h>.
Verify that ElfW (Half) fits in int.
(fatal): Use same signature as lisp.h.
(UNEXELF_DEBUG): New macro, replacing DEBUG, so that people can
configure and build with -DUNEXELF_DEBUG without worrying about
other modules that use DEBUG.
(DEBUG_LOG) [UNEXELF_DEBUG]: New macro.  All debug code that prints
possibly-wide integers now uses it instead of plain fprintf.
(entry_address): New function, which avoids problems with 32-bit
overflow on 64-bit hosts.
(OLD_SECTION_H, NEW_SECTION_H, NEW_PROGRAM_H): Use it.
(round_up): Don't assume the remainder fits in int.
(find_section): Use bool for boolean.  Simplify debug code.
(unexec): Don't assume file sizes fit in int or size_t.
Omit unnecessary trailing newline in 'fatal' format.
Use strerror rather than outputting decimal error number.
Remove unused code when emacs is not defined;
this file relies on Emacs now.
Don't assume e_phnum and e_shnum are positive.
2013-05-05 21:52:00 -07:00
Paul Eggert
dc4a2ee0ef * regex.c: Fix problems when DEBUG is defined.
(extract_number, extract_number_and_incr): Define regardless of
whether DEBUG is defined; that's simpler and makes the code less
likely to go stale in the normal case when DEBUG is not defined.
Return int rather than taking an int * arg.  All callers changed.
(DEBUG_PRINT1, DEBUG_PRINT2, DEBUG_PRINT3, DEBUG_PRINT4):
Remove, replacing with ...
(DEBUG_PRINT): New macro.  All callers changed.
(DEBUG_COMPILES_ARGUMENTS): New macro.
(print_fastmap, print_partial_compiled_pattern) [DEBUG]:
(print_compiled_pattern, print_double_string) [DEBUG]:
Use prototype rather than old-style definition.
(print_partial_compiled_pattern, print_compiled_pattern) [DEBUG]:
(ENSURE_FAIL_STACK, PUSH_FAILURE_REG) [DEBUG]:
(POP_FAILURE_REG_OR_COUNT, PUSH_FAILURE_POINT) [DEBUG]:
(POP_FAILURE_POINT, re_match_2_internal) [DEBUG]:
Don't assume ptrdiff_t, size_t, and long are the same width as int.
(POINTER_TO_OFFSET): Return ptrdiff_t, not regoff_t.
This matters only when DEBUG is defined.
2013-05-05 21:31:16 -07:00
Paul Eggert
8c13f3d628 * make-docfile.c (search_lisp_doc_at_eol) [DEBUG]: Fix typo,
by removing references to no-longer-existing locals.
2013-05-05 20:32:19 -07:00
Stefan Monnier
1e2c18dfbd * lisp/progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
(octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
some tweaks, instead.
2013-05-05 22:29:42 -04:00
Eli Zaretskii
14c7ed056d Fix bug #14306 with whitespace mode together with linum-mode.
src/xdisp.c (set_iterator_to_next): Set the
 ignore_overlay_strings_at_pos_p flag only if we are _really_
 iterating over an overlay string, as indicated by the
 current.overlay_string_index member.
2013-05-05 20:41:09 +03:00
Leo Liu
02502a5fd2 * progmodes/octave.el (octave-font-lock-keywords)
(octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
(inferior-octave-send-list-and-digest): Improve error message.
(octave-mode, inferior-octave-mode): Use setq-local.
(octave-help): Set info-lookup-mode.
2013-05-05 23:29:51 +08:00
Jan Djärv
e6076b1bce * nsmenu.m (ns_update_menubar): Move initialization of submenuTitle
to where it is used, to avoid autorelease issues.

Fixes: debbugs:14050
2013-05-05 17:16:06 +02:00
Richard M. Stallman
6c54491c95 * vc/compare-w.el (compare-windows-whitespace):
Treat no-break space as whitespace.
2013-05-05 10:10:51 -04:00