bpt/emacs.git
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.

10 years agoComment
Xue Fuqiao [Sat, 26 Oct 2013 02:02:51 +0000 (10:02 +0800)]
Comment

10 years ago* test/indent/ruby.rb: New failing example.
Dmitry Gutov [Sat, 26 Oct 2013 01:22:50 +0000 (05:22 +0400)]
* test/indent/ruby.rb: New failing example.

10 years ago* lisp/progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
Dmitry Gutov [Sat, 26 Oct 2013 01:16:37 +0000 (05:16 +0400)]
* lisp/progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
specific in what the first arg can be: a non-keyword word,
string/regexp/percent literal opener, opening paren, or unary
operator followed directly by word.

* test/automated/ruby-mode-tests.el (ruby-toggle-block-to-brace): Fix
the test, in respect to adding the space after the curly.

10 years ago* lisp/progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
Stefan Monnier [Fri, 25 Oct 2013 15:23:45 +0000 (11:23 -0400)]
* lisp/progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
(prolog-align-comments-flag, prolog-indent-mline-comments-flag)
(prolog-object-end-to-0-flag, prolog-electric-newline-flag)
(prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
Remove vars, they do not apply any more.
(prolog-mode-abbrev-table): Remove redundant declaration.
(prolog-upper-case-string, prolog-lower-case-string): Remove.
(prolog-use-smie): Remove.
(prolog-smie-rules): Add indentation rule for the if-then-else layout
supported by prolog-electric-if-then-else-flag.
(prolog-mode-variables, prolog-menu): Use setq-local.
(prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
Remove binding to `Backspace' since this key doesn't exist anyway.
Remove bindings for electric self-inserting keys.
(prog-mode): Assume it's defined.
(prolog-post-self-insert): New function.
(prolog-mode): Use it.
(prolog-indent-line, prolog-indent-level)
(prolog-find-indent-of-matching-paren)
(prolog-indentation-level-of-line, prolog-goto-comment-column)
(prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
(prolog-goto-next-paren, prolog-in-string-or-comment)
(prolog-tokenize, prolog-inside-mline-comment)
(prolog-find-start-of-mline-comment): Remove functions.
(prolog-find-unmatched-paren, prolog-clause-end)
(prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
(prolog-electric--if-then-else): Rename from
prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
(prolog-tokenize-searchkey): Remove const.
(prolog-clause-info): Use forward-sexp.
(prolog-forward-list, prolog-backward-list, prolog-electric-delete)
(prolog-electric-if-then-else): Remove commands.
(prolog-electric--colon): Rename from prolog-electric-colon; adapt it
for use in post-self-insert-hook.
(prolog-electric--dash): Rename from prolog-electric-dash; adapt it
for use in post-self-insert-hook.
(prolog-electric--dot): Rename from prolog-electric-dot; adapt it
for use in post-self-insert-hook.
(prolog-electric--underscore): Rename from prolog-electric--underscore;
adapt it for use in post-self-insert-hook.

10 years agoImprove indexing.
Xue Fuqiao [Fri, 25 Oct 2013 13:56:59 +0000 (21:56 +0800)]
Improve indexing.

10 years agoContinuation of previous change.
Xue Fuqiao [Fri, 25 Oct 2013 13:34:21 +0000 (21:34 +0800)]
Continuation of previous change.

10 years ago* doc/lispref/display.texi (Low-Level Font): Improve indexing.
Xue Fuqiao [Fri, 25 Oct 2013 13:12:58 +0000 (21:12 +0800)]
* doc/lispref/display.texi (Low-Level Font): Improve indexing.

10 years ago* doc/lispref/nonascii.texi (Character Properties): Add an index for
Xue Fuqiao [Fri, 25 Oct 2013 12:23:07 +0000 (20:23 +0800)]
* doc/lispref/nonascii.texi (Character Properties): Add an index for
  script symbols.

10 years ago* emacs-lisp/ert.el (ert-run-tests-interactively):
Michael Albinus [Fri, 25 Oct 2013 12:07:34 +0000 (14:07 +0200)]
* emacs-lisp/ert.el (ert-run-tests-interactively):
Use `completing-read'.  (Bug#9756)

10 years ago* doc/lispref/display.texi (Fontsets): Minor wording fix.
Xue Fuqiao [Fri, 25 Oct 2013 11:44:35 +0000 (19:44 +0800)]
* doc/lispref/display.texi (Fontsets): Minor wording fix.

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

10 years agoAnother fix for the MS-Windows build broken 4 revisions ago.
Eli Zaretskii [Fri, 25 Oct 2013 09:52:37 +0000 (12:52 +0300)]
Another fix for the MS-Windows build broken 4 revisions ago.

 src/w32uniscribe.c (uniscribe_close): Adjust the argument list to
 the changed signature of the font driver's 'close' method.

10 years agoFix bug #15712 with vertical motion when the goal column needs to hscroll.
Eli Zaretskii [Fri, 25 Oct 2013 09:45:51 +0000 (12:45 +0300)]
Fix bug #15712 with vertical motion when the goal column needs to hscroll.

 lisp/simple.el (line-move): Call line-move-1 instead of
 line-move-visual when the current window hscroll is zero, but
 temporary-goal-column indicates we will need to hscroll as result
 of the movement.

10 years agoFix the MS-Windows build broken 2013-10-25T04:35:56Z!dgutov@yandex.ru.
Eli Zaretskii [Fri, 25 Oct 2013 09:42:41 +0000 (12:42 +0300)]
Fix the MS-Windows build broken 2013-10-25T04:35:56Z!dgutov@yandex.ru.

 src/w32font.h (w32font_close): Adjust the prototype to the change in
 function definition.
 src/w32font.c (w32font_close): Reintroduce deleted declaration of i.
 src/w32uniscribe.c (uniscribe_close): Adapt the call to
 w32font_close to its new prototype.

10 years agoPerform font-specific cleanup when font object is swept by GC. See
Dmitry Antipov [Fri, 25 Oct 2013 07:28:16 +0000 (11:28 +0400)]
Perform font-specific cleanup when font object is swept by GC.  See
http://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00740.html.
* alloc.c (cleanup_vector): New function.
(sweep_vector): Call it for each reclaimed vector object.
* font.h (struct font): Adjust comment.

10 years agoOmit unused frame argument of font API's close function.
Dmitry Antipov [Fri, 25 Oct 2013 06:55:36 +0000 (10:55 +0400)]
Omit unused frame argument of font API's close function.
* font.h (struct font): Drop frame argument.  Adjust comment.
* font.c (font_clear_cache, font_close_object): Adjust users.
* ftfont.c (ftfont_close):
* ftxfont.c (ftxfont_close):
* macfont.m (macfont_close):
* nsfont.m (nsfont_close):
* w32font.c (w32font_close):
* xfont.c (xfont_close):
* xftfont.c (xftfont_close): Adjust driver-specific close
functions, tweak comments and make functions safe if called
more than once for the same font object.

10 years ago* lisp/progmodes/ruby-mode.el (ruby-mode-menu): Use proper
Dmitry Gutov [Fri, 25 Oct 2013 04:35:56 +0000 (08:35 +0400)]
* lisp/progmodes/ruby-mode.el (ruby-mode-menu): Use proper
capitalization.  Use :visible instead of :active.  Fix
`ruby-indent-exp' reference.  Add menu items for the generic
commands that are used with SMIE.
(ruby-do-end-to-brace): Insert space after `{'.

10 years ago* lisp/progmodes/ruby-mode.el (ruby-mode-menu): Add a menu
John Anthony [Fri, 25 Oct 2013 02:38:39 +0000 (19:38 -0700)]
* lisp/progmodes/ruby-mode.el (ruby-mode-menu): Add a menu

Fixes: debbugs:15600

10 years ago* lisp/progmodes/inf-lisp.el (inferior-lisp-menu): Add menu.
John Anthony [Fri, 25 Oct 2013 02:35:55 +0000 (19:35 -0700)]
* lisp/progmodes/inf-lisp.el (inferior-lisp-menu): Add menu.

Fixes: debbugs:15599

10 years ago* lisp/vc/vc.el (vc-print-log): Don't use a working revision unless
Glenn Morris [Fri, 25 Oct 2013 02:33:42 +0000 (19:33 -0700)]
* lisp/vc/vc.el (vc-print-log): Don't use a working revision unless
one was explicitly specified.

Fixes: debbugs:15322

10 years ago* configure.ac: It seems _installing_ in non-ASCII is ok, not building.
Glenn Morris [Fri, 25 Oct 2013 02:22:13 +0000 (19:22 -0700)]
* configure.ac: It seems _installing_ in non-ASCII is ok, not building.

10 years ago* lisp/subr.el (add-to-list): Preserve return value in compiler-macro.
Stefan Monnier [Fri, 25 Oct 2013 01:10:27 +0000 (21:10 -0400)]
* lisp/subr.el (add-to-list): Preserve return value in compiler-macro.

Fixes: debbugs:15692

10 years agoSmall fix to last change
Leo Liu [Fri, 25 Oct 2013 00:52:26 +0000 (08:52 +0800)]
Small fix to last change

10 years ago* progmodes/octave.el (octave-lookfor): Handle empty lookfor
Rüdiger Sonderfeld [Fri, 25 Oct 2013 00:49:33 +0000 (08:49 +0800)]
* progmodes/octave.el (octave-lookfor): Handle empty lookfor
result.  Ask user to retry using '-all' flag.

Fixes: debbugs:15701

10 years agoAvoid non-portable "` ... \"...\" ... `" nesting
Glenn Morris [Thu, 24 Oct 2013 23:04:33 +0000 (19:04 -0400)]
Avoid non-portable "` ... \"...\" ... `" nesting

* configure.ac:
* Makefile.in (install-arch-indep, install-etcdoc, install-info):
* lib-src/Makefile.in ($(DESTDIR)${archlibdir}):
* nt/Makefile.in ($(DESTDIR)${archlibdir}):
Avoid non-portable "`\" nesting.

10 years ago* lisp/emacs-lisp/smie.el: New smie-config system.
Stefan Monnier [Thu, 24 Oct 2013 21:16:20 +0000 (17:16 -0400)]
* lisp/emacs-lisp/smie.el: New smie-config system.
(smie-config): New defcustom.
(smie-edebug, smie-config-show-indent, smie-config-set-indent)
(smie-config-guess, smie-config-save): New commands.
(smie-config--mode-local, smie-config--buffer-local)
(smie-config--trace, smie-config--modefuns): New vars.
(smie-config--advice, smie-config--mode-hook)
(smie-config--setter, smie-config-local, smie-config--get-trace)
(smie-config--guess-value, smie-config--guess): New functions.
(smie-indent-forward-token, smie-indent-backward-token): Don't copy
text properties.  Treat "string fence" syntax like string syntax.

* lisp/progmodes/sh-script.el (sh-use-smie): Change default.
(sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
(sh-var-value): Simplify by CSE.
(sh-show-indent, sh-set-indent, sh-learn-line-indent)
(sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
is used.
(sh-guess-basic-offset): Use cl-incf.
(sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).

10 years ago* lisp/emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste.
Helmut Eller [Thu, 24 Oct 2013 17:49:12 +0000 (13:49 -0400)]
* lisp/emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste.

Fixes: debbugs:15699

10 years ago* lisp/Makefile.in (abs_top_srcdir): Remove.
Glenn Morris [Thu, 24 Oct 2013 17:18:46 +0000 (13:18 -0400)]
* lisp/Makefile.in (abs_top_srcdir): Remove.
(update-subdirs): Use relative path to update-subdirs.

10 years agoFix last changes to support whitespace in directory names.
Eli Zaretskii [Thu, 24 Oct 2013 16:28:05 +0000 (19:28 +0300)]
Fix last changes to support whitespace in directory names.

 lisp/Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el): Call
 unmsys--file-name before expand-file-name, not after it.

10 years agoImprove indexing.
Xue Fuqiao [Thu, 24 Oct 2013 14:00:59 +0000 (22:00 +0800)]
Improve indexing.

10 years ago* doc/lispref/display.texi (Low-Level Font): Add an index for font registry.
Xue Fuqiao [Thu, 24 Oct 2013 13:53:20 +0000 (21:53 +0800)]
* doc/lispref/display.texi (Low-Level Font): Add an index for font registry.

10 years ago* doc/lispref/display.texi (Font Selection): Add indexes for font selection.
Xue Fuqiao [Thu, 24 Oct 2013 13:16:51 +0000 (21:16 +0800)]
* doc/lispref/display.texi (Font Selection): Add indexes for font selection.

10 years ago* doc/lispref/display.texi (Face Remapping): Add indexes for face remapping.
Xue Fuqiao [Thu, 24 Oct 2013 12:17:57 +0000 (20:17 +0800)]
* doc/lispref/display.texi (Face Remapping): Add indexes for face remapping.

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