João Távora
e9d6c46ab5
Fix bug #16272 when inserting newline at point-min in electric-pair-mode.
...
* elec-pair.el (electric-pair-post-self-insert-function): Don't
open extra newlines at beginning of buffer.
2013-12-28 19:26:54 +00:00
Eli Zaretskii
8962d4b300
Fix a thinko in last commit.
2013-12-28 19:12:57 +02:00
Eli Zaretskii
bf7bea5de0
Fix bug #14739 with creation of GUI frames from TTY session on Windows.
...
src/w32fns.c (Fx_create_frame): Error out if called from a TTY
session.
lisp/frame.el (window-system-for-display): Don't allow to create a
GUI frame from a -nw session on MS-Windows.
2013-12-28 13:47:26 +02:00
Jan Djärv
efe702196a
* configure.ac: Fix CC detection for xcrun case.
2013-12-28 11:37:53 +01:00
Jan Djärv
5f27a1b07d
* configure.ac: Fix CC detection for xcrun case.
2013-12-28 11:12:43 +01:00
Glenn Morris
c62a196109
* admin/admin.el (cusver-scan): Warn about missing :types.
...
(cusver-check): Interactively, require existing directories.
* admin/cus-test.el: Comment.
2013-12-28 00:33:44 -08:00
Glenn Morris
946618bae3
Revert earlier erc-button change
2013-12-28 00:27:34 -08:00
Glenn Morris
9c5a5c7700
Every defcustom should specify its type
...
* apropos.el (apropos-match-face):
* calculator.el (calculator-displayer):
* dabbrev.el (dabbrev-search-these-buffers-only):
* face-remap.el (buffer-face-mode-face):
* simple.el (yank-handled-properties):
* emacs-lisp/testcover.el (testcover-potentially-1value-functions):
* mail/footnote.el (footnote-mode-line-string, footnote-prefix):
* mail/hashcash.el (hashcash-accept-resources, hashcash-program)
(hashcash-double-spend-database):
* progmodes/ruby-mode.el (ruby-deep-indent-paren)
(ruby-deep-indent-paren-style):
* textmodes/flyspell.el (flyspell-auto-correct-binding):
* textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
(rst-toc-insert-number-separator, rst-toc-insert-max-level):
* vc/pcvs-defs.el (cvs-minor-mode-prefix):
* erc/erc-log.el (erc-log-file-coding-system):
* gnus/gnus-sieve.el (gnus-sieve-select-method):
* gnus/gravatar.el (gravatar-automatic-caching, gravatar-cache-ttl)
(gravatar-rating, gravatar-size):
* gnus/message.el (message-minibuffer-local-map):
* gnus/sieve-manage.el (sieve-manage-authenticators)
(sieve-manage-authenticator-alist):
Specify custom types.
* mail/hashcash.el (hashcash-program): Rename from hashcash-path.
Update callers.
2013-12-28 00:21:33 -08:00
Paul Eggert
7e99158aac
Spelling and typo fixes.
2013-12-27 22:37:35 -08:00
Chong Yidong
4364185f73
Doc updates
...
* buffers.texi (Modification Time): Document visited-file-modtime change.
* modes.texi (Auto Major Mode): Document interpreter-mode-alist change.
2013-12-28 12:30:19 +08:00
Glenn Morris
a544fbe1d1
ChangeLog fixes for font-locking
2013-12-27 18:17:54 -08:00
Glenn Morris
bb0980751e
Add missing custom :versions, plus small fixes
...
* emacs-lisp/smie.el (smie-config): Add type, version, initialize.
* bookmark.el (bookmark-bmenu-use-header-line):
* doc-view.el (doc-view-scale-internally):
* pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
* register.el (register-preview-delay):
* net/shr.el (shr-bullet):
* progmodes/cfengine.el (cfengine-cf-promises)
(cfengine-parameters-indent):
* progmodes/octave.el (inferior-octave-error-regexp-alist):
* textmodes/reftex-vars.el (reftex-label-regexps):
* vc/log-edit.el (log-edit-setup-add-author): Add version.
* cedet/ede/linux.el (project-linux-build-directory-default)
(project-linux-architecture-default): Fix custom types. Add version.
* gnus/gnus-icalendar.el (gnus-icalendar-org, gnus-icalendar):
* gnus/gnus-sum.el (gnus-subthread-sort-functions): Add version.
* gnus/gnus-sync.el (gnus-sync-file-encrypt-to): Add type and version.
2013-12-27 18:16:05 -08:00
Glenn Morris
9c61f806fb
Misc small custom fixes
...
The value of defcustom's const should not be quoted!
* lisp/desktop.el (desktop-restore-in-current-display):
* lisp/newcomment.el (comment-empty-lines):
* lisp/progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
(idlwave-pad-keyword):
* lisp/progmodes/tcl.el (tcl-tab-always-indent):
* lisp/textmodes/reftex-vars.el (reftex-index-default-tag):
* lisp/elec-pair.el (electric-pair-skip-whitespace):
* lisp/progmodes/cfengine.el (cfengine-cf-promises):
* lisp/cedet/ede/linux.el (project-linux-build-directory-default)
(project-linux-architecture-default):
* lisp/erc/erc-button.el (erc-button-alist):
* lisp/gnus/auth-source.el (auth-sources):
* lisp/gnus/nnmairix.el (nnmairix-propagate-marks-upon-close):
* lisp/url/url-history.el (url-history-track):
* lisp/url/url-vars.el (url-honor-refresh-requests):
Fix custom types.
* lisp/net/tls.el (tls-certtool-program): Fix default value.
2013-12-27 17:24:15 -08:00
Glenn Morris
2545413005
Tweak previos change
2013-12-27 16:48:28 -08:00
Glenn Morris
c04d52fbc9
* doc/lispref/control.texi (Pattern matching case statement): Brevity.
2013-12-27 16:47:15 -08:00
Glenn Morris
ad15bd74e4
* doc/emacs/trouble.texi (Understanding Bug Reporting): Brevity.
...
ChangeLog fix.
2013-12-27 16:42:59 -08:00
Paul Eggert
1d7701a4fd
Fix problem with MAKE and xcrun configuration.
...
* configure.ac: Don't set MAKE unless 'make' doesn't work.
Set it only in the environment, not in the makefile.
Problem reported by Glenn Morris in:
http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00969.html
2013-12-27 16:40:58 -08:00
Juanma Barranquero
e9dc713d18
Fix ChangeLog typos.
2013-12-28 01:36:00 +01:00
Glenn Morris
8449dd1f65
authors.el updates and ChangeLog fixes
...
* lisp/emacs-lisp/authors.el (authors-ignored-files)
(authors-valid-file-names, authors-renamed-files-alist): Additions.
2013-12-27 16:31:33 -08:00
Glenn Morris
72140a0fb0
ChangeLog fixes
2013-12-27 16:08:54 -08:00
Glenn Morris
1f5afa8c1c
* test/automated/electric-tests.el: Require 'elec-pair.
...
Set copyright holder to FSF.
2013-12-27 16:04:56 -08:00
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