bpt/emacs.git
10 years ago* lisp/Makefile.in (abs_lisp): Remove, replace by abs_srcdir
Glenn Morris [Sat, 2 Nov 2013 19:43:11 +0000 (12:43 -0700)]
* lisp/Makefile.in (abs_lisp): Remove, replace by abs_srcdir

10 years agoUse relative filenames in TAGS files.
Glenn Morris [Sat, 2 Nov 2013 19:41:33 +0000 (12:41 -0700)]
Use relative filenames in TAGS files.

* src/Makefile.in (abs_srcdir): Remove it again.
(.PHONY): Remove frc.
(maintainer-clean): No more TAGS-LISP file.
(TAGS): Pass relative file names to etags.
(../lisp/TAGS): Rename from TAGS-LISP.  Work in ../lisp.

* lisp/Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
(lisptagsfiles4, TAGS): Use relative file names.
(TAGS-LISP): Remove.
(maintainer-clean): No more TAGS-LISP file.

* lwlib/Makefile.in (abs_srcdir): Remove it again.
(ctagsfiles, TAGS): Use relative filenames.

* .bzrignore: Remove TAGS-LISP.

10 years ago* src/Makefile.in (lispdir): Remove.
Glenn Morris [Sat, 2 Nov 2013 19:23:45 +0000 (12:23 -0700)]
* src/Makefile.in (lispdir): Remove.
(TAGS-LISP): Replace lispdir with its expansion.

10 years agoSmall Makefile cleanup mainly related to tags file generation
Glenn Morris [Sat, 2 Nov 2013 19:18:50 +0000 (12:18 -0700)]
Small Makefile cleanup mainly related to tags file generation

* src/Makefile.in (abs_srcdir): New, set by configure.
(maintainer-clean): Remove pointless echo.  That should be in the
top-level Makefile, if anywhere.  Delete TAGS-LISP.
(extraclean): No s/ and m/ directories for some time.
(TAGS): Remove no-longer-defined S_FILE.
Pass absolute filenames to etags once more.
(TAGS-LISP, $(lwlibdir)/TAGS): Correctly pass ETAGS to sub-makes.
($(lwlibdir)/TAGS): Remove useless subshell, check cd return value.

* lisp/Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
(lisptagsfiles4): Use absolute filenames again.
(TAGS, TAGS-LISP): Not everything needs to run in one line.
Remove all *loaddefs files, not just the first.  Remove esh-groups.
(maintainer-clean): Delete TAGS, TAGS-LISP.

* lwlib/Makefile.in (abs_srcdir): New, set by configure.
(ETAGS, ctagsfiles): New variables.
(TAGS): Use ETAGS, ctagsfiles.  Use absolute filenames again.

10 years ago* lisp/ChangeLog: Fix a typo.
Bozhidar Batsov [Sat, 2 Nov 2013 14:58:38 +0000 (16:58 +0200)]
* lisp/ChangeLog: Fix a typo.

10 years ago* xfaces.c (realize_default_face): Set DISTANT_FOREGROUND to unspecified_fg.
Jan Djärv [Sat, 2 Nov 2013 13:14:55 +0000 (14:14 +0100)]
* xfaces.c (realize_default_face): Set DISTANT_FOREGROUND to unspecified_fg.

10 years agoNEWS tweak
Xue Fuqiao [Sat, 2 Nov 2013 11:37:14 +0000 (19:37 +0800)]
NEWS tweak

10 years ago* lisp/emacs-lisp/package.el (package-version-join): Recognize snapshot versions.
Bozhidar Batsov [Sat, 2 Nov 2013 10:55:22 +0000 (12:55 +0200)]
* lisp/emacs-lisp/package.el (package-version-join): Recognize snapshot versions.

10 years ago* subr.el (version-regexp-alist): Add support for snapshot versions.
Bozhidar Batsov [Sat, 2 Nov 2013 09:48:11 +0000 (11:48 +0200)]
* subr.el (version-regexp-alist): Add support for snapshot versions.

10 years ago* xfaces.c (check_lface_attrs, realize_default_face): Add
Jan Djärv [Sat, 2 Nov 2013 07:58:54 +0000 (08:58 +0100)]
* xfaces.c (check_lface_attrs, realize_default_face): Add
LFACE_DISTANT_FOREGROUND_INDEX.

Fixes: debbugs:15788

10 years ago* lisp/progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): New
Dmitry Gutov [Sat, 2 Nov 2013 05:18:11 +0000 (09:18 +0400)]
* lisp/progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): New
function, replacement for `smie-rule-parent' for when we want to
skip over our direct parent if it's an assignment token..
(ruby-smie-rules): Use it.

10 years ago* emacs.c (original_pwd): Remove global var by making it local.
Paul Eggert [Sat, 2 Nov 2013 02:11:37 +0000 (19:11 -0700)]
* emacs.c (original_pwd): Remove global var by making it local.

(init_cmdargs): New arg ORIGINAL_PWD; caller changed.

10 years ago* lisp/progmodes/ruby-mode.el Use `syntax-propertize-function'
Dmitry Gutov [Sat, 2 Nov 2013 01:10:10 +0000 (05:10 +0400)]
* lisp/progmodes/ruby-mode.el Use `syntax-propertize-function'
unconditionally.  Remove now unnecessary forward declarations.
Remove XEmacs-specific setup.
(ruby-here-doc-end-re, ruby-here-doc-beg-match)
(ruby-font-lock-syntactic-keywords)
(ruby-comment-beg-syntax, ruby-in-here-doc-p)
(ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
(ruby-here-doc-end-syntax): Remove.
(ruby-mode): Don't check whether `syntax-propertize-rules' is
defined as function.

10 years ago* lisp/progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
Bozhidar Batsov [Sat, 2 Nov 2013 00:17:54 +0000 (04:17 +0400)]
* lisp/progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.

10 years ago* lisp/progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
Bozhidar Batsov [Fri, 1 Nov 2013 23:55:15 +0000 (03:55 +0400)]
* lisp/progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
table and abbrev table, `define-derived-mode' does that for us
anyway.

10 years ago* lisp/Makefile.in: Remove manual mh-e dependencies
Glenn Morris [Fri, 1 Nov 2013 17:26:29 +0000 (13:26 -0400)]
* lisp/Makefile.in: Remove manual mh-e dependencies
(writing .elc files is atomic for some time,
so no parallel compilation issues)

10 years agoAdd :distant-foreground to faces.
Jan Djärv [Fri, 1 Nov 2013 15:47:10 +0000 (16:47 +0100)]
Add :distant-foreground to faces.

* doc/lispref/display.texi (Face Attributes): Document :distant-foreground.

* etc/NEWS: Mention :distant-foreground.

* lisp/faces.el (face-x-resources): Add :distant-foreground.
(region): Use :distant-foreground for gtk and ns.

* src/dispextern.h (lface_attribute_index): Add
LFACE_DISTANT_FOREGROUND_INDEX.

* src/xfaces.c: Declare color_distance.
(QCdistant_foreground): New variable.
(NEAR_SAME_COLOR_THRESHOLD): New define.
(load_color2): New function.
(load_color): Call load_color2.
(load_face_colors): Call load_color2 and if distant-color is specified
calculate distant and use distant-color if colors are near.
(LFACE_DISTANT_FOREGROUND): New define.
(merge_face_ref, Finternal_set_lisp_face_attribute)
(Finternal_get_lisp_face_attribute)
(x_supports_face_attributes_p): Handle distant-foreground similar to
foreground.
(syms_of_xfaces): DEFSYM QCdistant_foreground.

10 years agoAllow multiple bibliographies when BibLaTeX is used rathen than
Tassilo Horn [Fri, 1 Nov 2013 10:27:21 +0000 (11:27 +0100)]
Allow multiple bibliographies when BibLaTeX is used rathen than
BibTeX.
* textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
(reftex-locate-bibliography-files): Us it.

10 years agoAuto-commit of loaddefs files.
Glenn Morris [Fri, 1 Nov 2013 10:21:34 +0000 (06:21 -0400)]
Auto-commit of loaddefs files.

10 years agoAuto-commit of generated files.
Glenn Morris [Fri, 1 Nov 2013 10:17:43 +0000 (06:17 -0400)]
Auto-commit of generated files.

10 years agoFix whitespace in src/casefiddle.c.
Eli Zaretskii [Fri, 1 Nov 2013 10:00:47 +0000 (12:00 +0200)]
Fix whitespace in src/casefiddle.c.

10 years agoFix ChangeLog entry of last commit.
Claudio Bley [Fri, 1 Nov 2013 09:18:39 +0000 (11:18 +0200)]
Fix ChangeLog entry of last commit.

10 years agoFix handling of comments in NetPBM image files.
Claudio Bley [Fri, 1 Nov 2013 09:10:13 +0000 (11:10 +0200)]
Fix handling of comments in NetPBM image files.

 src/image.c (pbm_next_char): New function.
 (pbm_scan_number): Use it.

 lisp/image.el (image-type-header-regexps): Fix the 'pbm' part to
 allow comments in pbm files.

10 years agolisp/term/w32-win.el (dynamic-library-alist): Support libtiff v4.x on w32.
Claudio Bley [Fri, 1 Nov 2013 09:04:16 +0000 (11:04 +0200)]
lisp/term/w32-win.el (dynamic-library-alist): Support libtiff v4.x on w32.

10 years agoSupport libpng DLLs of versions beyond 1.4.x on MS-Windows.
Claudio Bley [Fri, 1 Nov 2013 08:57:55 +0000 (10:57 +0200)]
Support libpng DLLs of versions beyond 1.4.x on MS-Windows.

 lisp/term/w32-win.el (dynamic-library-alist): Support versions of
 libpng beyond 1.4.x.

10 years agoSupport newer versions of libjpeg on MS-Windows.
Claudio Bley [Fri, 1 Nov 2013 08:52:22 +0000 (10:52 +0200)]
Support newer versions of libjpeg on MS-Windows.

 src/image.c (Qlibjpeg_version): New variable.
 (syms_of_image): DEFSYM and initialize it.

 lisp/term/w32-win.el (dynamic-library-alist): Support newer versions
 of libjpeg starting with v7: look only for the DLL from the
 version against which Emacs was built.

10 years ago* lisp/progmodes/ruby-mode.el (ruby-indent-tabs-mode)
Bozhidar Batsov [Fri, 1 Nov 2013 03:35:35 +0000 (07:35 +0400)]
* lisp/progmodes/ruby-mode.el (ruby-indent-tabs-mode)
(ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
Add property :safe.
(ruby-deep-arglist): Add property :type.

10 years ago* configure.ac: Use [!...] rather than [^...], for ksh. (Bug#15769)
Glenn Morris [Thu, 31 Oct 2013 21:39:10 +0000 (17:39 -0400)]
* configure.ac: Use [!...] rather than [^...], for ksh.  (Bug#15769)

10 years ago* automated/ert-tests.el (ert-test-stats-set-test-and-result):
Michael Albinus [Thu, 31 Oct 2013 13:31:22 +0000 (14:31 +0100)]
* automated/ert-tests.el (ert-test-stats-set-test-and-result):
Add a skipping test.

10 years ago* emacs.c (main): Skip -psn args on OSX even if ! isatty (0).
Jan Djärv [Thu, 31 Oct 2013 08:32:42 +0000 (09:32 +0100)]
* emacs.c (main): Skip -psn args on OSX even if ! isatty (0).

10 years ago* lisp/Makefile.in (custom-deps, finder-data): No need to setq the target
Glenn Morris [Thu, 31 Oct 2013 07:27:35 +0000 (00:27 -0700)]
* lisp/Makefile.in (custom-deps, finder-data): No need to setq the target
variables, we are in the right directory and the defaults work fine.

10 years agoFix setting of invocation-directory with --chdir and relative argv[0]
Glenn Morris [Thu, 31 Oct 2013 07:18:42 +0000 (00:18 -0700)]
Fix setting of invocation-directory with --chdir and relative argv[0]

* src/emacs.c (original_pwd): New char.
(main): If using --chdir, store original_pwd.
(init_cmdargs): When setting Vinvocation_directory based on a
relative argv[0], use original_pwd if set.

Fixes: debbugs:15768

10 years ago* semantic/idle.el (semantic-idle-symbol-highlight)
Barry O'Reilly [Thu, 31 Oct 2013 01:50:24 +0000 (21:50 -0400)]
* semantic/idle.el (semantic-idle-symbol-highlight)
(semantic-idle-symbol-highlight-face): Define face with defface
and obsolete the replaced one defined with defvar.  (Bug#15745)
* pulse.el (pulse-momentary-highlight-overlay)
(pulse-momentary-highlight-region): Fix typo in doc

10 years ago* lisp/Makefile.in (autoloads): Fix thinko in previous
Glenn Morris [Thu, 31 Oct 2013 00:40:46 +0000 (20:40 -0400)]
* lisp/Makefile.in (autoloads): Fix thinko in previous

10 years ago* lisp/Makefile.in (autoloads): Do not use abs_lisp.
Glenn Morris [Wed, 30 Oct 2013 20:27:35 +0000 (16:27 -0400)]
* lisp/Makefile.in (autoloads): Do not use abs_lisp.

This should stop recent weirdness, eg:
http://lists.gnu.org/archive/html/emacs-diffs/2013-10/msg00381.html

* lisp/emacs-lisp/autoload.el: Comment.

10 years ago* lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads):
Glenn Morris [Wed, 30 Oct 2013 20:03:07 +0000 (16:03 -0400)]
* lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads):
`newline' does not respect `standard-output', so use `princ'.

Otherwise you can get \n inserted in the wrong buffer, eg
http://lists.gnu.org/archive/html/emacs-diffs/2013-10/msg00379.html

10 years agohtmlfontify.el: remove duplicate Version: header
Glenn Morris [Wed, 30 Oct 2013 19:35:14 +0000 (15:35 -0400)]
htmlfontify.el: remove duplicate Version: header

10 years agoEnsure unmarking in buffer menu clears 'S' marks. (Bug#15761)
Alp Aker [Wed, 30 Oct 2013 18:35:19 +0000 (14:35 -0400)]
Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
* buff-menu.el (Buffer-menu--unmark): New function.
  (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.

10 years agohfy-cmap.el: Remove duplicate Package: header
Glenn Morris [Wed, 30 Oct 2013 17:34:17 +0000 (13:34 -0400)]
hfy-cmap.el: Remove duplicate Package: header

10 years ago* lisp/Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
Glenn Morris [Wed, 30 Oct 2013 17:17:12 +0000 (13:17 -0400)]
* lisp/Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.

10 years agoFix up previous admin/unidata clean rules
Glenn Morris [Wed, 30 Oct 2013 16:45:51 +0000 (09:45 -0700)]
Fix up previous admin/unidata clean rules

10 years agoRevert auto-commit loaddefs weirdness
Glenn Morris [Wed, 30 Oct 2013 16:29:36 +0000 (09:29 -0700)]
Revert auto-commit loaddefs weirdness

10 years agoFix weirdness caused by autoload generation...
Glenn Morris [Wed, 30 Oct 2013 16:21:41 +0000 (09:21 -0700)]
Fix weirdness caused by autoload generation...

10 years agoAuto-commit of loaddefs files.
Glenn Morris [Wed, 30 Oct 2013 10:23:16 +0000 (06:23 -0400)]
Auto-commit of loaddefs files.

10 years ago* doc/lispref/display.texi (Abstract Display): Improve indexing.
Xue Fuqiao [Wed, 30 Oct 2013 10:08:11 +0000 (18:08 +0800)]
* doc/lispref/display.texi (Abstract Display): Improve indexing.

10 years agoSimplify admin/unidata Makefile rules
Glenn Morris [Wed, 30 Oct 2013 07:15:23 +0000 (00:15 -0700)]
Simplify admin/unidata Makefile rules

* admin/unidata/unidata-gen.el (unidata-gen-files): Use pop.
Also take the output directory as an argument.

* admin/unidata/Makefile.in: Simplify now that unidata-gen-files takes
the output directory as an argument (no need to cd, etc).
(abs_srcdir, abs_builddir): Remove.
(abs_top_builddir): Replace by top_builddir.
(${DSTDIR}/charprop.el): No need to cd.  Pass dest as argument.
(${DSTDIR}/charprop.el, charprop.el):
No need to pass unidata.txt as argument.

10 years ago* Makefile.in (distclean, bootstrap-clean, maintainer-clean):
Glenn Morris [Wed, 30 Oct 2013 06:40:15 +0000 (23:40 -0700)]
* Makefile.in (distclean, bootstrap-clean, maintainer-clean):
Also clean admin/unidata, if present.

* admin/unidata/Makefile.in (bootstrap-clean): New rule.

10 years ago* lisp/gnus/gnus-int.el (gnus-start-news-server): Silence compiler
Glenn Morris [Wed, 30 Oct 2013 06:35:26 +0000 (23:35 -0700)]
* lisp/gnus/gnus-int.el (gnus-start-news-server): Silence compiler
obsolescence warning.

10 years ago* lisp/gnus/gnus-group.el (gnus-group-browse-foreign-server): Silence compiler
Glenn Morris [Wed, 30 Oct 2013 06:34:26 +0000 (23:34 -0700)]
* lisp/gnus/gnus-group.el (gnus-group-browse-foreign-server): Silence compiler
obsolescence warning.

10 years ago* lisp/cedet/semantic/grammar.el (semantic-grammar-mode-keywords-2)
Glenn Morris [Wed, 30 Oct 2013 06:31:15 +0000 (23:31 -0700)]
* lisp/cedet/semantic/grammar.el (semantic-grammar-mode-keywords-2)
(semantic-grammar-mode-keywords-3): Handle renamed font-lock vars.

10 years ago* lisp/emacs-lisp/package.el (lm-homepage): Declare.
Glenn Morris [Wed, 30 Oct 2013 06:29:51 +0000 (23:29 -0700)]
* lisp/emacs-lisp/package.el (lm-homepage): Declare.

10 years ago* lisp/eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink): Fix doc typos.
Glenn Morris [Wed, 30 Oct 2013 06:29:22 +0000 (23:29 -0700)]
* lisp/eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink): Fix doc typos.

10 years ago* lisp/vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
Glenn Morris [Wed, 30 Oct 2013 06:28:15 +0000 (23:28 -0700)]
* lisp/vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.

10 years agoetc/TODO small updates
Glenn Morris [Wed, 30 Oct 2013 06:27:20 +0000 (23:27 -0700)]
etc/TODO small updates

10 years ago* admin/unidata/unidata-gen.el (unidata--ensure-compiled): New function.
Glenn Morris [Wed, 30 Oct 2013 06:25:44 +0000 (23:25 -0700)]
* admin/unidata/unidata-gen.el (unidata--ensure-compiled): New function.
(unidata-gen-table-name, unidata-gen-table-decomposition)
(unidata-gen-files): Use unidata--ensure-compiled.

Add FSF copyright years based on when this file first appeared in
Emacs trunk.

10 years ago* admin/unidata/Makefile.in (abs_srcdir): New, set by configure.
Glenn Morris [Wed, 30 Oct 2013 06:24:16 +0000 (23:24 -0700)]
* admin/unidata/Makefile.in (abs_srcdir): New, set by configure.
(${DSTDIR}/charprop.el, charprop.el): Update for srcdir not absolute.
(clean): Delete all .elc files.

10 years agolisp/Makefile.in trivia
Glenn Morris [Wed, 30 Oct 2013 06:21:46 +0000 (23:21 -0700)]
lisp/Makefile.in trivia

* lisp/Makefile.in (finder-data, autoloads, update-subdirs)
(compile-main, compile-clean, compile-always, bootstrap-clean):
Check return value of cd.
(compile-calc): Remove.

10 years agoCleanup namespace of dos-w32.el.
Stefan Monnier [Wed, 30 Oct 2013 02:45:53 +0000 (22:45 -0400)]
Cleanup namespace of dos-w32.el.
* lisp/dos-w32.el (minibuffer-history-case-insensitive-variables)
(path-separator, null-device, buffer-file-coding-system)
(lpr-headers-switches): Check system-type before modifying them.
(find-buffer-file-type-coding-system): Mark obsolete.
(w32-find-file-not-found-set-buffer-file-coding-system): Rename from
find-file-not-found-set-buffer-file-coding-system.
(w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
(w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
(w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
(w32-direct-print-region-helper, w32-direct-print-region-function)
(w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
* lisp/startup.el (normal-top-level-add-subdirs-to-load-path):
* lisp/ps-print.el (ps-print-region-function):
* lisp/lpr.el (print-region-function): Use new name.

* lisp/simple.el (copy-region-as-kill): Fix call to region-extract-function.

* lisp/emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
(byte-compile-and-folded): New function.
(=, <, >, <=, >=): Use it.

10 years ago* lisp/subr.el (custom-declare-variable-early): Remove function.
Stefan Monnier [Wed, 30 Oct 2013 02:14:16 +0000 (22:14 -0400)]
* lisp/subr.el (custom-declare-variable-early): Remove function.
(custom-declare-variable-list): Remove var.
(error, user-error): Remove `while' loop.
(read-quoted-char-radix, read-quoted-char): Move to simple.el.
(user-emacs-directory-warning, locate-user-emacs-file):
Move to files.el.
* lisp/simple.el (read-quoted-char-radix, read-quoted-char):
* lisp/files.el (user-emacs-directory-warning, locate-user-emacs-file):
Move from subr.el.
* lisp/custom.el (custom-declare-variable-list): Don't process
custom-declare-variable-list.

10 years ago* lisp/progmodes/python.el (python-shell-get-buffer): New function.
Stefan Monnier [Wed, 30 Oct 2013 01:28:36 +0000 (21:28 -0400)]
* lisp/progmodes/python.el (python-shell-get-buffer): New function.
(python-shell-get-process): Use it.
(python-shell-send-string): Always use utf-8 and add a cookie to tell
Python which encoding was used.  Don't split-string since we only care
about the first line.  Return the temp-file, if applicable.
(python-shell-send-region): Tell compile.el how to turn locations in
the temp-file into locations in the source buffer.

10 years ago* src/keyboard.c (command_loop_1): If command is nil, call `undefined'.
Stefan Monnier [Tue, 29 Oct 2013 21:05:35 +0000 (17:05 -0400)]
* src/keyboard.c (command_loop_1): If command is nil, call `undefined'.
* lisp/subr.el (undefined): Add missing behavior from the C code for
unbound keys.

10 years ago* insdel.c: Fix minor problems found by static checking.
Paul Eggert [Tue, 29 Oct 2013 18:40:54 +0000 (11:40 -0700)]
* insdel.c: Fix minor problems found by static checking.

(Qregion_extract_function): Now static.
(prepare_to_modify_buffer_1): Remove unused locals.

10 years agoAdd pre-redisplay-function and rectangular region
Stefan Monnier [Tue, 29 Oct 2013 16:11:50 +0000 (12:11 -0400)]
Add pre-redisplay-function and rectangular region
* lisp/rect.el: Use lexical-binding.  Add new rectangular region support.
(rectangle-mark): New command.
(rectangle--region): New var.
(deactivate-mark-hook): Reset rectangle--region.
(rectangle--extract-region, rectangle--insert-for-yank)
(rectangle--highlight-for-redisplay)
(rectangle--unhighlight-for-redisplay): New functions.
(region-extract-function, redisplay-unhighlight-region-function)
(redisplay-highlight-region-function): Use them to handle
rectangular region.
* lisp/simple.el (region-extract-function): New var.
(delete-backward-char, delete-forward-char, deactivate-mark): Use it.
(kill-new, kill-append): Remove obsolete `yank-handler' argument.
(kill-region): Replace obsolete `yank-handler' arg with `region'.
(copy-region-as-kill, kill-ring-save): Add `region' argument.
(redisplay-unhighlight-region-function)
(redisplay-highlight-region-function): New vars.
(redisplay--update-region-highlight): New function.
(pre-redisplay-function): Use it.
(exchange-point-and-mark): Don't deactivate the mark before
reactivate-it anyway.
* lisp/comint.el (comint-kill-region): Remove yank-handler argument.
* lisp/delsel.el (delete-backward-char, backward-delete-char-untabify)
(delete-char): Remove property, since it's now part of their
default behavior.
(self-insert-iso): Remove property since this command doesn't exist.

* src/xdisp.c (prepare_menu_bars): Call Vpre_redisplay_function.
(syms_of_xdisp): Declare pre-redisplay-function.
(markpos_of_region): Remove function.
(init_iterator, compute_stop_pos, handle_face_prop)
(face_before_or_after_it_pos, reseat_to_string)
(get_next_display_element, window_buffer_changed)
(redisplay_internal, try_cursor_movement, redisplay_window)
(try_window_reusing_current_matrix, try_window_id, display_line)
(note_mode_line_or_margin_highlight, note_mouse_highlight)
(display_string, mouse_face_from_buffer_pos): Remove region handling.
* src/window.h (struct window): Remove field `region_showing'.
* src/dispextern.h (struct it): Remove region_beg/end_charpos.
(face_at_buffer_position, face_for_overlay_string)
(face_at_string_position): Update prototypes.
* src/xfaces.c (face_at_buffer_position, face_for_overlay_string)
(face_at_string_position): Remove `region_beg' and `region_end' args.
* src/fontset.c (Finternal_char_font):
* src/font.c (font_at, font_range): Adjust calls accordingly.
* src/insdel.c (Qregion_extract_function): New var.
(syms_of_insdel): Initialize it.
(prepare_to_modify_buffer_1): Use it.

10 years agoPrefer 'unsigned long' to 'long unsigned int' and 'unsigned long int'.
Dmitry Antipov [Tue, 29 Oct 2013 16:08:08 +0000 (20:08 +0400)]
Prefer 'unsigned long' to 'long unsigned int' and 'unsigned long int'.
* ftxfont.c (ftxfont_get_gcs):
* gtkutil.c (xg_set_widget_bg, xg_set_background_color):
* xfaces.c (x_free_colors, x_free_dpy_colors)
(x_create_gc, unload_color):
* xselect.c (x_property_data_to_lisp):
* xsettings.c (parse_settings):
* xterm.c (x_copy_color, x_alloc_lighter_color, x_setup_relief_color)
(get_bits_and_offset): Adjust definition.
* frame.c (XParseGeometry): Adjust locals.
* lisp.h (toplevel): Adjust EMACS_UINT type definition.
* regex.h (toplevel): Likewise for reg_syntax_t.

10 years ago* doc/lispref/display.texi (Selective Display): Discourage the use of explicit
Stefan Monnier [Tue, 29 Oct 2013 14:49:10 +0000 (10:49 -0400)]
* doc/lispref/display.texi (Selective Display): Discourage the use of explicit
selective display.

10 years ago* lisp/emacs-lisp/package.el (package--download-one-archive)
Stefan Monnier [Tue, 29 Oct 2013 14:48:08 +0000 (10:48 -0400)]
* lisp/emacs-lisp/package.el (package--download-one-archive)
(describe-package-1): Don't query the user about final newline.

10 years ago* src/eval.c (run_hook_with_args): Use FUNCTIONP.
Stefan Monnier [Tue, 29 Oct 2013 14:46:23 +0000 (10:46 -0400)]
* src/eval.c (run_hook_with_args): Use FUNCTIONP.
* test/indent/css-mode.css (.x2): Test alignement inside braces.
* test/indent/prolog.prolog: Test alignment of ->; with operator at bol.

10 years ago* doc/lispref/display.texi (Abstract Display): Explain the meaning of Ewoc.
Xue Fuqiao [Tue, 29 Oct 2013 14:36:01 +0000 (22:36 +0800)]
* doc/lispref/display.texi (Abstract Display): Explain the meaning of Ewoc.

10 years agoFix a typo.
Xue Fuqiao [Tue, 29 Oct 2013 14:23:07 +0000 (22:23 +0800)]
Fix a typo.

10 years agoUse @code instead of @var for a normal variable.
Xue Fuqiao [Tue, 29 Oct 2013 14:15:52 +0000 (22:15 +0800)]
Use @code instead of @var for a normal variable.

* doc/lispref/display.texi (Button Buffer Commands): Use @code instead
  of @var for a normal variable.

10 years agolisp/gnus/nnimap.el: Search the netrc entries for the logical server name, then the...
Ted Zlatanov [Tue, 29 Oct 2013 13:54:16 +0000 (13:54 +0000)]
lisp/gnus/nnimap.el: Search the netrc entries for the logical server name, then the actual

10 years ago* doc/lispref/display.texi (Multi-Frame Images): Improve indexing.
Xue Fuqiao [Tue, 29 Oct 2013 11:58:50 +0000 (19:58 +0800)]
* doc/lispref/display.texi (Multi-Frame Images): Improve indexing.

10 years agoAdd an index for multi-frame images.
Xue Fuqiao [Tue, 29 Oct 2013 11:20:24 +0000 (19:20 +0800)]
Add an index for multi-frame images.

* doc/lispref/display.texi (Multi-Frame Images): Add an index for multi-frame images.

10 years agoUse @code instead of @var for a normal variable, since @var should
Xue Fuqiao [Tue, 29 Oct 2013 10:52:03 +0000 (18:52 +0800)]
Use @code instead of @var for a normal variable, since @var should
indicate metasyntactic variables.

10 years agoAdd an index for image-size.
Xue Fuqiao [Tue, 29 Oct 2013 10:25:35 +0000 (18:25 +0800)]
Add an index for image-size.

* doc/lispref/display.texi (Showing Images): Add an index for image-size.

10 years agoFix typo in ido-use-virtual-buffers.
Xue Fuqiao [Tue, 29 Oct 2013 07:37:40 +0000 (15:37 +0800)]
Fix typo in ido-use-virtual-buffers.

10 years ago* xterm.h (struct x_output): For 'black_relief' and 'white_relief'
Dmitry Antipov [Tue, 29 Oct 2013 05:55:25 +0000 (09:55 +0400)]
* xterm.h (struct x_output): For 'black_relief' and 'white_relief'
fields, drop 'allocated_p' member and use -1 for uninitialized value.
* w32term.h (struct w32_output): Similarly but do not use -1 because...
* xfaces.c (unload_color) [HAVE_X_WINDOWS]: ...this function is a no-op
on MS-Windows anyway.
(free_face_colors): Define only if HAVE_X_WINDOWS and...
(free_realized_face): ...adjust user.
* xfns.c (Fx_create_frame, x_create_tip_frame): Initialize black and
white relief pixels to -1.
* xterm.c (x_setup_relief_color, x_free_frame_resources): Adjust users.
* w32term.c (w32_setup_relief_color, x_free_frame_resources): Likewise.
* dispextern.h (unload_color): Move prototype under HAVE_X_WINDOWS.

10 years agoTweak Tramp method definition syntax to allow overriding check for localhost-only...
Daniel Colascione [Tue, 29 Oct 2013 02:50:24 +0000 (19:50 -0700)]
Tweak Tramp method definition syntax to allow overriding check for localhost-only methods

10 years ago* dispextern.h, image.c (x_bitmap_height, x_bitmap_width): Now static.
Paul Eggert [Mon, 28 Oct 2013 21:19:38 +0000 (14:19 -0700)]
* dispextern.h, image.c (x_bitmap_height, x_bitmap_width): Now static.

* xfaces.c (load_pixmap): Omit last two args, which are always NULL
in practice now.  All callers changed.

10 years ago* net/tramp-sh.el (tramp-sh-handle-copy-directory):
Michael Albinus [Mon, 28 Oct 2013 19:30:40 +0000 (20:30 +0100)]
* net/tramp-sh.el (tramp-sh-handle-copy-directory):
* net/tramp-smb.el (tramp-smb-handle-copy-directory):
Handle COPY-CONTENTS.  (Bug#15737)

10 years ago* dispextern.h (struct face): Use bitfields for 'underline_type'
Dmitry Antipov [Mon, 28 Oct 2013 10:58:01 +0000 (14:58 +0400)]
* dispextern.h (struct face): Use bitfields for 'underline_type'
and 'box' members.  Remove set-but-unused members 'pixmap_w' and
'pixmap_h'.  If not HAVE_WINDOW_SYSTEM, also remove dummy
'stipple' member.  Move 'lface' member up to help...
* xfaces.c (make_realized_face): ...this function to find and
clear just the members that need clearing.
(load_face_colors, realize_x_face):
* xdisp.c (extend_face_to_end_of_line): Adjust user.

10 years agoAuto-commit of generated files.
Glenn Morris [Mon, 28 Oct 2013 10:17:40 +0000 (06:17 -0400)]
Auto-commit of generated files.

10 years agoDocument insecure elisp password caching is not usable with GnuPG 2.0.
Daiki Ueno [Mon, 28 Oct 2013 08:04:48 +0000 (17:04 +0900)]
Document insecure elisp password caching is not usable with GnuPG 2.0.

10 years ago* lisp/image.el (image-load-path): Doc fix.
Xue Fuqiao [Sun, 27 Oct 2013 23:04:16 +0000 (07:04 +0800)]
* lisp/image.el (image-load-path): Doc fix.

10 years ago* lisp/image.el (defimage): Doc fix.
Xue Fuqiao [Sun, 27 Oct 2013 22:53:48 +0000 (06:53 +0800)]
* lisp/image.el (defimage): Doc fix.

10 years agoIndent statements in macros following "##" correctly.
Alan Mackenzie [Sun, 27 Oct 2013 21:24:17 +0000 (21:24 +0000)]
Indent statements in macros following "##" correctly.
* progmodes/cc-engine.el (c-crosses-statement-barrier-p): Modify
the "#" arm of a cond form to handle "#" and "##" operators.

10 years ago* configure.ac: It seems installing in non-ASCII is not, in fact, ok.
Glenn Morris [Sun, 27 Oct 2013 18:57:20 +0000 (11:57 -0700)]
* configure.ac: It seems installing in non-ASCII is not, in fact, ok.

10 years agoMark tiny change from author without assignment
Glenn Morris [Sun, 27 Oct 2013 18:46:47 +0000 (11:46 -0700)]
Mark tiny change from author without assignment

10 years agoComment
Xue Fuqiao [Sun, 27 Oct 2013 14:12:16 +0000 (22:12 +0800)]
Comment

10 years agoAdd an index for image maps.
Xue Fuqiao [Sun, 27 Oct 2013 13:07:24 +0000 (21:07 +0800)]
Add an index for image maps.

10 years agoAuto-commit of loaddefs files.
Glenn Morris [Sun, 27 Oct 2013 10:22:53 +0000 (06:22 -0400)]
Auto-commit of loaddefs files.

10 years ago* xftfont.c (struct xftfont_info): Remove set-but-unused
Dmitry Antipov [Sun, 27 Oct 2013 05:30:34 +0000 (09:30 +0400)]
* xftfont.c (struct xftfont_info): Remove set-but-unused
'screen' member.
(xftfont_open): Adjust user.
(xftfont_get_colors): Remove useless prototype.

10 years agoAdd an index for edge-detection algorithms.
Xue Fuqiao [Sun, 27 Oct 2013 04:40:16 +0000 (12:40 +0800)]
Add an index for edge-detection algorithms.

* doc/lispref/display.texi (Image Descriptors): Add an index for edge-detection algorithms.

10 years ago* lisp/linum.el (linum-update-window): Fix boundary test.
Nathan Trapuzzano [Sun, 27 Oct 2013 04:18:28 +0000 (00:18 -0400)]
* lisp/linum.el (linum-update-window): Fix boundary test.

Fixes: debbugs:13446

10 years ago* lisp/progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
Dmitry Gutov [Sun, 27 Oct 2013 03:25:03 +0000 (07:25 +0400)]
* lisp/progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
after `=' is probably a new expression.

10 years agoAdd menu for M-x man
Rüdiger Sonderfeld [Sun, 27 Oct 2013 02:02:02 +0000 (19:02 -0700)]
Add menu for M-x man

* lisp/man.el (man-imenu-title): New option.
(Man-mode-map): Add menu.
(Man-mode): Add imenu to menu.

Fixes: debbugs:15722

10 years agoFix part of bug #15260 with from directory with a non-ASCII name.
Eli Zaretskii [Sat, 26 Oct 2013 13:43:58 +0000 (16:43 +0300)]
Fix part of bug #15260 with from directory with a non-ASCII name.

 src/emacs.c (Fdump_emacs): Encode FILENAME and SYMFILE arguments
 before passing them to 'unexec'.

10 years agoDoc fix for set-fringe-bitmap-face.
Xue Fuqiao [Sat, 26 Oct 2013 03:13:18 +0000 (11:13 +0800)]
Doc fix for set-fringe-bitmap-face.

* src/fringe.c (set_fringe_bitmap_face): Add usage note from lispref.

10 years agoAdd an index for customizing fringe bitmaps.
Xue Fuqiao [Sat, 26 Oct 2013 02:25:54 +0000 (10:25 +0800)]
Add an index for customizing fringe bitmaps.

10 years ago* doc/lispref/display.texi (Fringe Indicators): Add indexes for fringe indicators.
Xue Fuqiao [Sat, 26 Oct 2013 02:20:04 +0000 (10:20 +0800)]
* doc/lispref/display.texi (Fringe Indicators): Add indexes for fringe indicators.