1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 18:40:39 -08:00
Commit graph

114524 commits

Author SHA1 Message Date
Glenn Morris
f1a85e52c8 Revert unnecessary earlier change 2013-12-27 16:03:17 -08:00
Glenn Morris
9cadbf5a93 Auto-commit of loaddefs files. 2013-12-27 19:00:54 -05:00
Jarek Czekalski
fdadeb4997 Shell completion for filenames from current directory, related docs.
* lisp/shell.el  Shell completion now matches executable filenames from
	the current buffer's directory, on systems in which this behaviour
	is the default (windows-nt, ms-dos).
	* src/callproc.c (Vexec_path): Document that exec-directory is in it.
	* doc/emacs/mini.texi (Completion Options): Add a link to Shell Options.
	* doc/emacs/misc.texi (Shell Mode): Move documentation of
	shell-completion-fignore from Shell Mode to Shell Options.

Fixes: debbugs:15461
2013-12-27 21:58:21 +01:00
Glenn Morris
b1797e3eeb * lisp/emacs-lisp/lisp-mode.el (lisp-mode-variables): Unbreak bootstrap. 2013-12-27 12:24:25 -08:00
Paul Eggert
5eedd0b92d Port xcrun configuration to GNU/Linux.
* configure.ac (xcsdkdir): Default to empty.
(XCRUN): Don't require Darwin for xcrun.  Move xcrun checking to
just before AM_INIT_AUTOMAKE, to make the dependency between it
and automake clearer.
(CC): Don't use AC_PROG_CC twice; only the first use expands to the
shell code that is wanted, which breaks 'configure' on non-Darwin
platforms.  Instead, fix CC by hand if it's not found.
2013-12-27 11:14:10 -08:00
João Távora
8a6212d71d Fix Electric Pair mode's autowrapping tests in batch-mode. 2013-12-27 18:05:03 +00:00
Jan Djärv
7c8114cb5f * configure.ac: Detect xcrun on OSX and use it for make, gcc and libxml. 2013-12-27 17:57:52 +01:00
Lars Ingebrigtsen
e572a7d800 * net/shr.el (shr-insert): Don't infloop if the width is zero. 2013-12-27 16:43:54 +01:00
Stefan Monnier
a4151f3b49 * lisp/icomplete.el (icomplete-show-matches-on-no-input): Default to nil.
Fixes: debbugs:16251
2013-12-27 07:55:26 -05:00
Stefan Monnier
7514d3f806 * lisp/electric.el: Move all electric-pair-* to elec-pair.el.
* lisp/elec-pair.el: New file, split from electric.el.
2013-12-27 07:53:57 -05:00
Julien Danjou
765fe182c4 Enable ns-use-srgb-colorspace by default
See thread
https://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00706.html

* nsterm.m (syms_of_nsterm): Enable ns-use-srgb-colorspace by
default.
2013-12-27 11:43:11 +01:00
Xue Fuqiao
fe6462ee7c * admin/admin.el: Minor cleanups.
* admin/admin.el (manual-misc-manuals, make-manuals):
(manual-pdf, cusver-find-files):
(cusver-new-version, cusver-scan, cusver-goto-xref):
(cusver-check): Doc fix.
(manual-html-node, cusver-check): Use `user-error'.
2013-12-27 18:21:47 +08:00
Chong Yidong
0f1d29342f More doc updates
* commands.texi (Reading One Event): Mention keyboard coding.

* functions.texi (Function Cells):
* eval.texi (Function Indirection): Update for the fact that
symbol-function no longer signals an error.

* keymaps.texi (Translation Keymaps, Translation Keymaps):
* nonascii.texi (Terminal I/O Encoding): Copyedits.

* data.c (Fsymbol_function): Doc fix.
2013-12-27 11:38:26 +08:00
Paul Eggert
9cab7521b3 Sync better from sources.
* CXTERM-DIC/ARRAY30.tit, CXTERM-DIC/4Corner.tit:
* CXTERM-DIC/QJ.tit, CXTERM-DIC/QJ-b5.tit:
Omit blank lines not present in the original.
* CXTERM-DIC/CCDOSPY.tit:
* CXTERM-DIC/PY-b5.tit:
* CXTERM-DIC/SW.tit, CXTERM-DIC/TONEPY.tit:
* MISC-DIC/pinyin.map, MISC-DIC/ziranma.cin:
Clarify which header lines were added for Emacs.
* CXTERM-DIC/README:
Clarify what changes we made, and where the files came from.
* MISC-DIC/README, MISC-DIC/pinyin.map, MISC-DIC/ziranma.cin:
Update URLs.
* SKK-DIC/SKK-JISYO.L: Update from upstream.
2013-12-26 19:25:43 -08:00
Lars Ingebrigtsen
24a6b65e90 Fix another shr infloop in the filling code
(shr-find-fill-point): Off by one error in comparison with the
indentation.
2013-12-27 03:58:16 +01:00
Lars Ingebrigtsen
ac5758d162 shr didn't fill Japanese text correctly any more
* net/shr.el (shr-find-fill-point): Don't try to fill if the
indentation level is larger than the width, because that will
infloop.
(shr-insert): Fill repeatedly long texts, so that Japanese is
formatted correctly.

Fixes: debbugs:16263
2013-12-27 03:21:42 +01:00
Lars Ingebrigtsen
d96b72a59d lisp/gnus/gnus-sum.el (gnus-summary-respool-query): Make split tracing work in nnimap groups, too 2013-12-26 22:13:28 +00:00
João Távora
3b8d5131a3 Make Electric Pair mode smarter/more useful:
* lisp/electric.el: Pairing/skipping helps preserve
  balance. Autobackspacing behaviour. Opens extra newlines between
  pairs. Skip whitespace before closing delimiters.

* lisp/emacs-lisp/lisp-mode.el (lisp-mode-variables): Use new
  features.

* test/automated/electric-tests.lisp: New file.

* doc/emacs/programs.texi: Describe new features.

* lisp/simple.el: Pass non-nil interactive arg to newline call inside
  newline-and-indent.
2013-12-26 22:02:49 +00:00
Fabián Ezequiel Gallina
fbcc63a317 * lisp/progmodes/python.el: Use lexical-binding.
(python-nav-beginning-of-defun): Stop searching ASAP.
2013-12-26 13:45:19 -03:00
Martin Rudalics
0cbab19e6e Some more tinkering with Bug#16051.
* window.c (resize_frame_windows): Don't let the size of the
root window drop below the frame's default character size.
Never ever delete any subwindows - let the window manager do the
clipping.

* w32fns.c (x_set_tool_bar_lines): Rewrite calculation of number
of toolbar lines needed when they exceed the height of the root
window.
(unwind_create_frame_1): New function.
(Fx_create_frame): Generally inhibit calling the window
configuration change hook here.  Remove extra call to
change_frame_size - it's not needed when we don't run the
configuration change hook.
2013-12-26 12:31:42 +01:00
Paul Eggert
e76119d754 Fix core dumps with gcc -fsanitize=address and GNU/Linux.
On my Fedora 19 platform the core dumps were so big that
my desktop became nearly catatonic.
* configure.ac: Check whether addresses are sanitized.
(CANNOT_DUMP): Warn if addresses are sanitized and not CANNOT_DUMP.
(DOUG_LEA_MALLOC): Do not define if addresses are sanitized.
(SYSTEM_MALLOC): Define if addresses are sanitized.
* src/alloc.c (no_sanitize_memcpy) [MAX_SAVE_STACK > 0]: New function.
(Fgarbage_collect) [MAX_SAVE_STACK > 0]: Use it.
(USE_ALIGNED_MALLOC): Do not define if addresses are sanitized.
(mark_memory): Use ATTRIBUTE_NO_SANITIZE_ADDRESS rather than
a clang-only syntax.
* src/conf_post.h (__has_feature): New macro, if not already defined.
(ADDRESS_SANITIZER, ADDRESS_SANITIZER_WORKAROUND)
(ATTRIBUTE_NO_SANITIZE_ADDRESS): New macros.
2013-12-26 00:57:28 -08:00
Chong Yidong
2200a8c91d Update doc for advice changes.
* doc/lispref/advice.texi (Advising Functions, Defining Advice):
Special forms can no longer be advised.

* lisp/emacs-lisp/advice.el: Update commentary.
2013-12-26 11:27:45 +08:00
Gnus developers
ed88fb10f4 Misc changes made in Gnus master 2013-12-26 00:59:01 +00:00
Paul Eggert
1f69299cee Spelling fix. 2013-12-25 15:25:32 -08:00
Lars Ingebrigtsen
f7f071dcf4 Don't infloop when we can't find a good place to break lines in shr
(shr-insert): Don't infloop if we can't find a good place to break
the line.

Fixes: debbugs:16256
2013-12-25 23:52:15 +01:00
Xue Fuqiao
ed78d16c6e Some fixes for vc-ignore (Bug#15754).
Inspired by Andreas Politz and Dmitry Gutov.
2013-12-26 06:57:00 +08:00
Katsumi Yamaoka
55db967fae lisp/ChangeLog: Fix last commit 2013-12-25 22:53:57 +00:00
Katsumi Yamaoka
38b2c142f4 byte-run.el (eval-when-compile), cc-defs.el (cc-eval-when-compile): Fix edebug spec (bug#16184) 2013-12-25 22:37:04 +00:00
Lars Ingebrigtsen
af3efc3255 lisp/gnus/gnus-sum.el (gnus-summary-exit): Stop animations 2013-12-25 22:28:09 +00:00
Xue Fuqiao
77bbf3713d Merge from mainline. 2013-12-26 06:27:00 +08:00
Xue Fuqiao
3bc1e1880f Some fixes for vc-ignore (Bug#15754).
Inspired by Andreas Politz and Dmitry Gutov.
2013-12-26 06:24:37 +08:00
Lars Ingebrigtsen
83fa295c12 Grammer fix 2013-12-25 20:38:08 +01:00
Lars Ingebrigtsen
3c856c1415 * net/shr.el (shr-visit-file): Removed debugging function. 2013-12-25 20:37:41 +01:00
Lars Ingebrigtsen
c6c2058404 Further shr quotation mark fill fixes
(shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
(shr-find-fill-point): Remove the special checks for the quotation
mark, since `shr-char-kinsoku-bol-p' should now return the right
thing.
2013-12-25 19:14:49 +01:00
Fabián Ezequiel Gallina
0137922173 * lisp/progmodes/python.el:
(python-nav--lisp-forward-sexp): New function.
(python-nav--lisp-forward-sexp-safe): Use it.  Rename from
python-nav-lisp-forward-sexp-safe.
(python-nav--forward-sexp): New argument SAFE allows switching
forward sexp movement behavior for parens.
(python-nav-forward-sexp): Throw errors on unterminated parens.
(python-nav-backward-sexp, python-nav-forward-sexp-safe)
(python-nav-backward-sexp-safe): New functions.
(python-shell-buffer-substring): Use
`python-nav-forward-sexp-safe'.

* test/automated/python-tests.el
(python-nav-lisp-forward-sexp-safe-1): Remove test.
(python-nav-forward-sexp-safe-1): New test.

Fixes: debbugs:16191
2013-12-25 15:07:31 -03:00
Lars Ingebrigtsen
99e4926fcb Fold shr text with single quotation marks better
* net/shr.el (shr-find-fill-point): Don't break lines before a
quotation mark.
2013-12-25 18:31:39 +01:00
Eli Zaretskii
9ab3ce4d2f Fix bug #16252 with 'mailto:' documents passed to w32-shell-execute.
src/w32fns.c (Fw32_shell_execute): Make DOCUMENT absolute only if it
 is a file name.
2013-12-25 19:30:24 +02:00
Kenjiro NAKAYAMA
fec0e8283f eww textarea fixups
* net/eww.el (eww-form-textarea): Use a different face for
textareas than text input since they have different keymaps.

Fixes: debbugs:16142
2013-12-25 16:33:16 +01:00
Chong Yidong
c93525876d Doc updates for several Emacs 24.4 changes.
* doc/lispref/commands.texi (Event Input Misc): Document new arg to
input-pending-p.

* doc/lispref/display.texi (Font Selection): Tweak example.

* doc/lispref/keymaps.texi (Active Keymaps): Re-organize the text.
(Searching Keymaps): Rewrite the pseudo-code for 24.4 changes.
(Controlling Active Maps): Note that set-transient-map uses
overriding-terminal-local-map.

* doc/lispref/nonascii.texi (Specifying Coding Systems): Don't refer to
emacs-mule-dos.
(Lisp and Coding Systems): Describe emacs-mule return value in
modern terms.

* doc/lispref/tips.texi (Coding Conventions): Tweak the coding system tip;
Emacs now uses utf-8 by default for Emacs Lisp source files.

* doc/emacs/glossary.texi (Glossary): Define MULE in modern terms.

* src/keyboard.c (Voverriding_terminal_local_map):
(Voverriding_local_map): Doc fix.

* src/keymap.c (Vemulation_mode_map_alists): Doc fix.
2013-12-25 18:24:52 +08:00
Tassilo Horn
ff1c842a94 Rephrase lexical binding requirement sentence.
* doc/lispref/control.texi (Pattern matching case statement): Rephrase lexical
binding requirement: the example needs it, not `pcase' itself.
2013-12-25 10:12:24 +01:00
Chong Yidong
362397edd9 Document `eval' changes.
* doc/lispref/eval.texi (Eval): Document the LEXICAL arg to eval.

* doc/lispref/variables.texi (Variables, Void Variables): Use "scoping rule"
terminology consistently.
(Variable Scoping): Add index entries, and use "dynamic scope"
terminology in place of "indefinite scope" to reduce confusion.
(Lexical Binding): Document lexical environment format.
(Using Lexical Binding): Add index entries for error messages.
2013-12-25 11:05:11 +08:00
Xue Fuqiao
3a79600aa7 Doc fixes (index and comment). 2013-12-25 10:18:43 +08:00
Fabián Ezequiel Gallina
89c868adee * lisp/progmodes/python.el (python-nav-beginning-of-statement): Speed
up.

Fixes: debbugs:15295
2013-12-24 16:48:40 -03:00
Paul Eggert
9ebada6af6 Automate the procedure for updating copyright year.
* admin/merge-gnulib (GNULIB_MODULES): Add update-copyright.
* admin/notes/years: Mention admin/update-copyright.
* admin/update-copyright: New file.
* build-aux/update-copyright: New file.
* make-dist: Distribute it.
* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
* msdos/autogen/Makefile.in: Update copyright year.
2013-12-24 10:27:53 -08:00
Lars Ingebrigtsen
eeef121a18 eww bookmark window restoration
* net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
the window configuration.
2013-12-24 19:07:55 +01:00
Eli Zaretskii
a50fa60572 Attempt to catch backtrace of segfault in bug #16234. 2013-12-24 19:55:07 +02:00
Eli Zaretskii
121ea65f3f Fix eww-open-file for MS-Windows and MS-DOS.
lisp/net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
 we run on MS-Windows or MS-DOS.
2013-12-24 19:23:56 +02:00
Eli Zaretskii
ec6e26b811 Minor fixes in w32-shell-execute.
src/w32fns.c (Fw32_shell_execute): Ensure DOCUMENT is an absolute
 file name when it is submitted to ShellExecute.  Simplify code.
 Don't test DOCUMENT for being a string, as that is enforced by
 CHECK_STRING.  Doc fix.
2013-12-24 19:21:06 +02:00
Martin Rudalics
18cee9eca2 In balance-windows-area don't call window-height and window-width. Bug#16241.
* window.el (balance-windows-area): Call window-size instead of
window-height and window-width.  Bug#16241.
2013-12-24 17:42:03 +01:00
Tassilo Horn
a956004715 Fix missing arg in pcase example.
* doc/lispref/control.texi (Pattern matching case statement): Fix missing
argument in simple expression language sample.  Add
some sample programs written in that language.  Mention that
`pcase' requires lexical binding.

Fixes: debbugs:16238
2013-12-24 16:30:59 +01:00