Eli Zaretskii
634425957a
Revert @documentencoding changes in the docs.
2013-12-30 19:08:32 +02:00
Martin Rudalics
564eb533f9
Fix Bug#16284.
...
* dispnew.c (change_frame_size_1): Take old width of root window
from that window's pixel width. Bug#16284.
2013-12-30 10:14:29 +01:00
Paul Eggert
dcd812be6a
Specify info encoding and language.
...
* emacs.texi, emacs-xtra.texi:
* emacs-lisp-intro.texi:
* back.texi, book-spine.texi, elisp.texi, lay-flat.texi:
* ada-mode.texi, auth.texi, autotype.texi, bovine.texi, calc.texi:
* cc-mode.texi, cl.texi, dbus.texi, dired-x.texi, ebrowse.texi:
* ede.texi, ediff.texi, edt.texi, efaq-w32.texi, efaq.texi:
* eieio.texi, emacs-gnutls.texi, emacs-mime.texi, epa.texi, erc.texi:
* ert.texi, eshell.texi, eudc.texi, flymake.texi, forms.texi:
* gnus-coding.texi, gnus-faq.texi, gnus.texi, htmlfontify.texi:
* idlwave.texi, ido.texi, info.texi, mairix-el.texi, message.texi:
* mh-e.texi, newsticker.texi, nxml-mode.texi, octave-mode.texi:
* org.texi, pcl-cvs.texi, pgg.texi, rcirc.texi, reftex.texi:
* remember.texi, sasl.texi, sc.texi, semantic.texi, ses.texi:
* sieve.texi, smtpmail.texi, speedbar.texi, srecode.texi:
* todo-mode.texi, tramp.texi, url.texi, vip.texi, viper.texi:
* widget.texi, wisent.texi, woman.texi:
Add @documentencoding, @documentlanguage as needed.
Fixes: debbugs:16292
2013-12-29 19:19:25 -08:00
Glenn Morris
c0e8f6a9ea
* emacs-lisp-intro.texi: Use @quotation for license notice.
2013-12-29 19:08:09 -08:00
Paul Eggert
a560b856b1
Plain copy-file no longer chmods an existing destination.
...
* doc/lispref/files.texi (Changing Files): Document this.
* etc/NEWS: Document this.
* src/fileio.c (realmask): Now a static var, not a local.
(barf_or_query_if_file_exists): New arg KNOWN_TO_EXIST.
Remove arg STATPTR. All uses changed.
(Fcopy_file): Do not alter permissions of existing destinations,
unless PRESERVE-PERMISSIONS (renamed from
PRESERVE-EXTENDED-ATTRIBUTES) is non-nil.
Avoid race when testing for existing destinations and for
when input and output files are the same.
If changing the group fails, adjust both default and
preserved permissions so that access is not granted to the
wrong group.
(Fset_default_file_modes, init_fileio): Update realmask.
(Fdefault_file_modes): Use realmask instead of calling umask.
Fixes: debbugs:16133
2013-12-29 10:18:45 -08:00
Jan Djärv
830506d93a
* configure.ac (xcsdkdir): Only set if using xcrun.
2013-12-29 14:17:09 +01:00
Paul Eggert
b9c299ef6c
Revert quoting of xcrun-related library.
2013-12-28 23:52:53 -08:00
Paul Eggert
45bd2734b1
* src/emacs.c (main): [DAEMON_MUST_EXEC]: Restore close-on-exec after exec.
...
Fixes: debbugs:16262
2013-12-28 23:42:46 -08:00
Paul Eggert
a7f7e547d6
* configure.ac (LIBXML2_CFLAGS): Fix xcrun-related quoting problem.
...
Reported by YAMAMOTO Mitsuharu in:
http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00995.html
2013-12-28 23:15:01 -08:00
Xue Fuqiao
3f9e3ef3fe
Add the "use strict;" and "use warnings;" pragmas.
...
* admin/make-emacs:
* admin/build-configs: Add the "use strict;" and "use warnings;" pragmas.
2013-12-29 13:18:15 +08:00
Paul Eggert
411bf4a486
Fix pipe bug with OS X emacs --daemon (Bug#16262).
...
* emacs.c (main) [DAEMON_MUST_EXEC]: Clear the close-on-exec
flags on the daemon pipe ends before execing.
2013-12-28 14:56:58 -08:00
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