bpt/emacs.git
14 years agoReplace emacs-pretest-bug with bug-gnu-emacs mailing list.
Glenn Morris [Tue, 12 Jan 2010 05:11:05 +0000 (21:11 -0800)]
Replace emacs-pretest-bug with bug-gnu-emacs mailing list.
See http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00758.html

* emacs.c (REPORT_EMACS_BUG_PRETEST_ADDRESS): Set it to
bug-gnu-emacs rather than emacs-pretest-bug.

* mail/emacsbug.el (report-emacs-bug-pretest-address): Set
it to bug-gnu-emacs rather than emacs-pretest-bug.

* CONTRIBUTE, NEWS: Use bug-gnu-emacs rather than emacs-pretest-bug
for bug reports for development versions.

* trouble.texi (Checklist): Use bug-gnu-emacs rather than
emacs-pretest-bug for bug reports for development versions.

* emacs-pretesters, make-announcement: Use bug-gnu-emacs rather
than emacs-pretest-bug for bug reports for development versions.

* INSTALL.BZR, README: Use bug-gnu-emacs rather than emacs-pretest-bug
for bug reports for development versions.

14 years ago* cedet/data-debug.el (data-debug): Fix customization group reference.
Juanma Barranquero [Tue, 12 Jan 2010 04:58:01 +0000 (05:58 +0100)]
* cedet/data-debug.el (data-debug): Fix customization group reference.

14 years agoFix typos in CEDET docstrings.
Juanma Barranquero [Tue, 12 Jan 2010 04:51:26 +0000 (05:51 +0100)]
Fix typos in CEDET docstrings.

* cedet/semantic/analyze.el (semantic-analyze-push-error)
  (semantic-analyze-context, semantic-analyze-context-assignment)
  (semantic-analyze-find-tag-sequence, semantic-analyze-find-tag):
* cedet/semantic/java.el (java-mode, semantic-tag-include-filename)
  (semantic-java-doc-keywords-map):
* cedet/semantic/bovine/c.el (c-mode, semantic-c-member-of-autocast)
  (semantic-lex-c-nested-namespace-ignore-second, semantic-parse-region)
  (semantic-c-parse-lexical-token, semantic-c-debug-mode-init-pch)
  (semantic-c-classname, semantic-format-tag-uml-prototype)
  (semantic-c-dereference-namespace, semantic-analyze-type-constants):
* cedet/semantic/bovine/el.el (semantic-elisp-form-to-doc-string)
  (semantic-emacs-lisp-obsoleted-doc, semantic-up-context)
  (semantic-get-local-variables, semantic-end-of-command)
  (semantic-beginning-of-command, semantic-ctxt-current-class-list)
  (lisp-mode):
* cedet/semantic/bovine/make.el (makefile-mode):
* cedet/semantic/wisent/python.el (wisent-python-string-re)
  (wisent-python-implicit-line-joining-p, wisent-python-forward-string)
  (wisent-python-lex-beginning-of-line, wisent-python-lex-end-of-line)
  (semantic-lex, semantic-get-local-variables, python-mode):
* cedet/semantic/wisent/python-wy.el (wisent-python-wy--keyword-table):
* cedet/srecode/extract.el (srecode-extract-state-set)
  (srecode-extract-method): Fix typos in docstrings.

14 years ago(imenu-default-create-index-function): Detect infinite
Sam Steingold [Mon, 11 Jan 2010 20:53:23 +0000 (15:53 -0500)]
(imenu-default-create-index-function): Detect infinite
loops caused by imenu-prev-index-position-function.

14 years agoFix typos and remove superfluous backslash-quoting in htmlfontify.el.
Juanma Barranquero [Mon, 11 Jan 2010 17:26:28 +0000 (18:26 +0100)]
Fix typos and remove superfluous backslash-quoting in htmlfontify.el.

* htmlfontify.el (htmlfontify-load-rgb-file)
  (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
  (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
  (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
  (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
  (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
  (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
  (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
  (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
  (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
  (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
  (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
  (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
  (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
  (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
  (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
  (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
  (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
  (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
  (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
  (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
  (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
  (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
  backslash-quoting from parentheses, etc.

14 years ago* progmodes/js.el: Autoload javascript-mode alias.
Chong Yidong [Mon, 11 Jan 2010 16:18:06 +0000 (11:18 -0500)]
* progmodes/js.el: Autoload javascript-mode alias.

14 years agoFix typos in ffap.el.
Juanma Barranquero [Mon, 11 Jan 2010 15:22:23 +0000 (16:22 +0100)]
Fix typos in ffap.el.

* ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
  (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
  (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
  (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
  Fix typos in docstrings.
  (ffap-url-regexp): Doc fix.
  (ffap-at-mouse): Fix typo in message.

14 years ago* nsterm.m: Use DEFSYM for last change.
Chong Yidong [Mon, 11 Jan 2010 14:58:59 +0000 (09:58 -0500)]
* nsterm.m: Use DEFSYM for last change.

14 years ago* nsterm.m (syms_of_nsterm): Initialize Qcontrol etc. before
Chong Yidong [Mon, 11 Jan 2010 14:54:52 +0000 (09:54 -0500)]
* nsterm.m (syms_of_nsterm): Initialize Qcontrol etc. before
initializing the Lisp variables that depend on them.

14 years agoSet copyright year to 2010.
Glenn Morris [Mon, 11 Jan 2010 07:51:51 +0000 (23:51 -0800)]
Set copyright year to 2010.

* Cocoa/Emacs.base/Contents/Info.plist:
* Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings:
* GNUstep/Emacs.base/Resources/Info-gnustep.plist:
Set copyright year to 2010.

* version.el (emacs-copyright): Set copyright year to 2010.

* ebrowse.c (version):
* etags.c (print_version):
* rcs2log (Copyright): Set copyright year to 2010.

14 years ago* xfns.c (x_set_menu_bar_lines) [!USE_X_TOOLKIT && !USE_GTK]:
YAMAMOTO Mitsuharu [Mon, 11 Jan 2010 05:19:47 +0000 (14:19 +0900)]
* xfns.c (x_set_menu_bar_lines) [!USE_X_TOOLKIT && !USE_GTK]:
Clear areas that will not be updated after change of menu bar lines.
Clear the menu bar window's current matrix when the window gets empty.

14 years ago(Highlight Interactively): `t' does not mean highlight all patterns.
Glenn Morris [Mon, 11 Jan 2010 03:03:38 +0000 (19:03 -0800)]
(Highlight Interactively): `t' does not mean highlight all patterns.
(Bug#5335)

14 years ago* sieve-manage.el (sieve-manage-parse-capability-1): Loosely match OK response.
Jason Rumney [Sun, 10 Jan 2010 14:30:40 +0000 (22:30 +0800)]
* sieve-manage.el (sieve-manage-parse-capability-1): Loosely match OK response.

14 years ago(format-annotate-function): Only set
Stefan Monnier [Sun, 10 Jan 2010 05:22:54 +0000 (00:22 -0500)]
(format-annotate-function): Only set
write-region-post-annotation-function after running to-fn so as not to
affect nested write-region calls (bug#5273).

14 years ago* Makefile.in (ELCFILES): Add wisent/python-wy.el and wisent/python.el.
Chong Yidong [Sun, 10 Jan 2010 00:39:05 +0000 (19:39 -0500)]
* Makefile.in (ELCFILES): Add wisent/python-wy.el and wisent/python.el.

14 years agoAdd Semantic parsers for Python.
Chong Yidong [Sun, 10 Jan 2010 00:38:07 +0000 (19:38 -0500)]
Add Semantic parsers for Python.

* cedet/semantic.el (semantic-new-buffer-setup-functions): Add python parser.
* cedet/semantic/wisent/python-wy.el, cedet/semantic/wisent/python.el: New files.

14 years ago* man.el (Man-goto-section): Signal error if section not found (Bug#5317).
Chong Yidong [Sat, 9 Jan 2010 23:53:06 +0000 (18:53 -0500)]
* man.el (Man-goto-section): Signal error if section not found (Bug#5317).

14 years ago* emacs.1: Copyedits. Update options -Q, -mm and --daemon. Remove deprecated -...
Chong Yidong [Sat, 9 Jan 2010 23:39:36 +0000 (18:39 -0500)]
* emacs.1: Copyedits.  Update options -Q, -mm and --daemon.  Remove deprecated --unibyte option.

14 years agoFix bounds checking for text properties in `format' (Bug#5306).
Chong Yidong [Sat, 9 Jan 2010 22:32:47 +0000 (17:32 -0500)]
Fix bounds checking for text properties in `format' (Bug#5306).

* intervals.h, textprop.c (extend_property_ranges): Return value
and args changed.  Discard properties that begin at or after the
new end (Bug#5306).

* editfns.c (Fformat): Caller changed.

14 years ago* compile.el (compilation-read-command): Doc fix.
Chong Yidong [Sat, 9 Jan 2010 21:14:50 +0000 (16:14 -0500)]
* compile.el (compilation-read-command): Doc fix.

14 years agoFix bug#5345: password asked when visiting files on a lightweight checkout.
Juanma Barranquero [Sat, 9 Jan 2010 21:03:33 +0000 (22:03 +0100)]
Fix bug#5345: password asked when visiting files on a lightweight checkout.

* vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
  URLs with a leading triple slash in the file: scheme.

14 years agoFix compile-command's safe-local-variable condition.
Chong Yidong [Sat, 9 Jan 2010 20:53:55 +0000 (15:53 -0500)]
Fix compile-command's safe-local-variable condition.
* progmodes/compile.el: Don't treat compile-command as safe if
compilation-read-command might be nil (Bug#4218).

14 years agoFix for Bug#4113.
Chong Yidong [Sat, 9 Jan 2010 20:31:26 +0000 (15:31 -0500)]
Fix for Bug#4113.

* nsterm.m (ns_set_default_prefs): Delete function.
(syms_of_nsterm): Initialize ns_command_modifier,
ns_control_modifier, ns_function_modifier, ns_antialias_text, and
ns_antialias_threshold here, not in ns_term_init (Bug#4113).

14 years ago* xdisp.c (pos_visible_p): Check for invisible text at the correct pos (Bug#4040).
Chong Yidong [Sat, 9 Jan 2010 19:48:16 +0000 (14:48 -0500)]
* xdisp.c (pos_visible_p): Check for invisible text at the correct pos (Bug#4040).

14 years agoeditfns.c (Ffloat_time): Doc fix.
Eli Zaretskii [Sat, 9 Jan 2010 14:16:10 +0000 (16:16 +0200)]
editfns.c (Ffloat_time): Doc fix.

14 years ago(Fx_create_frame): Don't create frame larger than display by default bug#3643.
Jan Djärv [Sat, 9 Jan 2010 13:26:23 +0000 (14:26 +0100)]
(Fx_create_frame): Don't create frame larger than display by default bug#3643.

14 years ago(command-line-1): Use orig-argi to check for ignored X and NS options.
Jan Djärv [Sat, 9 Jan 2010 12:31:29 +0000 (13:31 +0100)]
(command-line-1): Use orig-argi to check for ignored X and NS options.

14 years agoMake line<->pixel_y conversion macros aware of native menu/tool bars.
YAMAMOTO Mitsuharu [Sat, 9 Jan 2010 04:16:32 +0000 (13:16 +0900)]
Make line<->pixel_y conversion macros aware of native menu/tool bars.
They are placed above the internal border.  This supersedes special
treatment of native tool bars in the display code.

This fixes wrong display position of native menu bars and bogus mouse
highlighting of native tool bars, both of which can be found when
internal border width is large.  Also it fixes wrong flashed part on
visible bell with native menu bars.

* frame.h (FRAME_TOP_MARGIN_HEIGHT): New macro.
(FRAME_LINE_TO_PIXEL_Y, FRAME_PIXEL_Y_TO_LINE): Take account of pseudo
windows above internal border.

* window.h (WINDOW_MENU_BAR_P, WINDOW_TOOL_BAR_P): New macros.
(WINDOW_TOP_EDGE_Y, WINDOW_BOTTOM_EDGE_Y): Take account of pseudo
windows above internal border.

* xdisp.c (get_glyph_string_clip_rects, init_glyph_string): Don't treat
tool bar windows specially.

* xfns.c (x_set_tool_bar_lines): Take account of menu bar height.

* xterm.c (x_after_update_window_line): Don't treat tool bar windows
specially.
(XTflash): Take account of menu bar height.

* w32term.c (x_after_update_window_line): Don't treat tool bar windows
specially.

14 years agoFix format.
Eli Zaretskii [Fri, 8 Jan 2010 21:42:14 +0000 (23:42 +0200)]
Fix format.

14 years agoFrame width was not updated in fullscreen when scroll bars where removed/added.
Jan Djärv [Fri, 8 Jan 2010 11:41:57 +0000 (12:41 +0100)]
Frame width was not updated in fullscreen when scroll bars where removed/added.

(change_frame_size_1): newwidth == FRAME_COLS  (f) must
also be true before we can return early (bug #5339).

14 years agofrom trunk
Kenichi Handa [Fri, 8 Jan 2010 01:53:29 +0000 (10:53 +0900)]
from trunk

14 years agointernational/fontset.el (build-default-fontset-data): Exclude characters in scripts...
Kenichi Handa [Fri, 8 Jan 2010 01:46:22 +0000 (10:46 +0900)]
international/fontset.el (build-default-fontset-data): Exclude characters in scripts kana, hangul, han, or cjk-misc.

14 years agoFix bug#3224.
Juanma Barranquero [Thu, 7 Jan 2010 22:46:44 +0000 (23:46 +0100)]
Fix bug#3224.

* vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
  to `create-file-buffer' as it expects, not just a buffer name.
  (vc-dir-mode): Include the buffer name in `list-buffers-directory',
  to help uniquify.

14 years agoMerge from trunk
Jan Djärv [Wed, 6 Jan 2010 19:42:27 +0000 (20:42 +0100)]
Merge from trunk

14 years agoForgot one.
Jan Djärv [Wed, 6 Jan 2010 19:41:25 +0000 (20:41 +0100)]
Forgot one.

14 years agoFix slowdown and wrong font choosed by XSETTINGS changes. bug #5157.
Jan Djärv [Wed, 6 Jan 2010 19:38:39 +0000 (20:38 +0100)]
Fix slowdown and wrong font choosed by XSETTINGS changes. bug #5157.

* font.c (font_open_entity): Enable chache and call cached_font_ok
for the driver if defined.
(QCuser_spec): New symbol.
(font_spec_from_name): Save name as user-spec.
(font_load_for_lface): Keep user-spec instead of name.
(font_open_by_name): Save name as user-spec.
(syms_of_font): Initialize QCuser_spec.

* xftfont.c (xftfont_open): Call xftfont_add_rendering_parameters.
(xftfont_add_rendering_parameters, xftfont_cached_font_ok): New.
(syms_of_xftfont): Initialize xftfont_driver.cached_font_ok.

* font.h (struct font_driver): Add cached_font_ok.

* font-setting.el (font-setting-change-default-font): Use user-spec
  instead of name.

14 years agoNS fixes for Bug#3233.
Chong Yidong [Wed, 6 Jan 2010 16:41:59 +0000 (09:41 -0700)]
NS fixes for Bug#3233.
* nsfns.m (ns_get_screen): Rewrite, returning NULL for non-NS.
(Fns_display_usable_bounds): Rewrite, computing bounds properly
(Bug#3233).

14 years agoMerge from trunk
Jan Djärv [Wed, 6 Jan 2010 16:04:19 +0000 (17:04 +0100)]
Merge from trunk

14 years agoFixing user-spec for fonts instead of using name.
Jan Djärv [Wed, 6 Jan 2010 16:03:26 +0000 (17:03 +0100)]
Fixing user-spec for fonts instead of using name.

14 years agoxterm.c (x_clear_frame): Queue draw for scroll bars.
Jan Djärv [Wed, 6 Jan 2010 15:57:43 +0000 (16:57 +0100)]
xterm.c (x_clear_frame): Queue draw for scroll bars.

14 years agoxterm.c (x_clear_frame): Queue draw for scroll bars.
Jan Djärv [Wed, 6 Jan 2010 15:55:00 +0000 (16:55 +0100)]
xterm.c (x_clear_frame): Queue draw for scroll bars.

14 years ago(vc-bzr-after-dir-status): Ignore pending merges.
Dan Nicolaescu [Wed, 6 Jan 2010 15:11:52 +0000 (07:11 -0800)]
(vc-bzr-after-dir-status): Ignore pending merges.

14 years agoMerge from mainline.
Katsumi Yamaoka [Wed, 6 Jan 2010 09:16:36 +0000 (09:16 +0000)]
Merge from mainline.

14 years agoMerge from mainline.
Katsumi Yamaoka [Wed, 6 Jan 2010 00:00:28 +0000 (00:00 +0000)]
Merge from mainline.

14 years ago* progmodes/python.el (python-font-lock-keywords): Handle qualified decorators
Chong Yidong [Tue, 5 Jan 2010 22:11:04 +0000 (15:11 -0700)]
* progmodes/python.el (python-font-lock-keywords): Handle qualified decorators
(Bug#881).

14 years ago(vc-bzr-working-revision): Fix looking for a revision
Dan Nicolaescu [Tue, 5 Jan 2010 21:19:34 +0000 (13:19 -0800)]
(vc-bzr-working-revision): Fix looking for a revision
in a lightweight checkout.

14 years agoFix gnus-summary-recenter to properly handle invisible lines
Andreas Schwab [Tue, 5 Jan 2010 20:37:43 +0000 (21:37 +0100)]
Fix gnus-summary-recenter to properly handle invisible lines

* gnus-sum.el (gnus-forward-line-ignore-invisible): New function.
(gnus-summary-recenter): Use it instead of forward-line.  (Bug#5257)

14 years agoMerge from mainline.
Jan Djärv [Tue, 5 Jan 2010 14:42:39 +0000 (15:42 +0100)]
Merge from mainline.

14 years agoRemove fprintf
Jan Djärv [Tue, 5 Jan 2010 14:30:22 +0000 (15:30 +0100)]
Remove fprintf

14 years agoHandle change of internal-border width when maximized.
Jan Djärv [Tue, 5 Jan 2010 14:16:30 +0000 (15:16 +0100)]
Handle change of internal-border width when maximized.

* xterm.c (x_new_font): Move code for setting rows/cols before
resizing ...
(x_set_window_size): ... to here. bug #2568.

* gtkutil.c (xg_clear_under_internal_border): New function.
(xg_frame_resized, xg_frame_set_char_size): Call
xg_clear_under_internal_border.
(xg_update_scrollbar_pos): Clear under old scroll bar position.

14 years ago* keyboard.c (read_key_sequence): Catch keyboard switch after
Chong Yidong [Tue, 5 Jan 2010 14:04:04 +0000 (07:04 -0700)]
* keyboard.c (read_key_sequence): Catch keyboard switch after
making a new tty frame (Bug#5095).

14 years agolanguage/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
Kenichi Handa [Tue, 5 Jan 2010 11:59:03 +0000 (20:59 +0900)]
language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.

14 years agofontset.c (fontset_find_font): Fix getting the frame pointer.
Kenichi Handa [Tue, 5 Jan 2010 11:49:19 +0000 (20:49 +0900)]
fontset.c (fontset_find_font): Fix getting the frame pointer.

14 years ago(vc-bzr-diff): Obey vc-disable-async-diff.
Dan Nicolaescu [Tue, 5 Jan 2010 07:46:35 +0000 (23:46 -0800)]
(vc-bzr-diff): Obey vc-disable-async-diff.

14 years agoAvoid dubious uses of save-excursions.
Stefan Monnier [Mon, 4 Jan 2010 18:18:38 +0000 (13:18 -0500)]
Avoid dubious uses of save-excursions.
* doc/lispref/positions.texi (Excursions): Recommend the use of
save-current-buffer if applicable.
* doc/lispref/text.texi (Clickable Text): Fix the example code which used
save-excursion in a naive way which sometimes preserves point and
sometimes not.
* doc/lispref/variables.texi (Creating Buffer-Local):
* doc/lispref/os.texi (Session Management):
* doc/lispref/display.texi (GIF Images):
* doc/lispref/control.texi (Cleanups): Use (save|with)-current-buffer.
* doc/misc/gnus.texi (Posting Styles): Use with-current-buffer.
* doc/misc/calc.texi (Defining Simple Commands): Prefer save-current-buffer.

14 years ago(xd_remove_watch): Avoid trying to convert a void* to
Stefan Monnier [Mon, 4 Jan 2010 17:38:20 +0000 (12:38 -0500)]
(xd_remove_watch): Avoid trying to convert a void* to
Lisp_Object, preferring to convert a lisp_Object to a void* instead.
(Fdbus_init_bus): Use XHASH to get a scalar value from a Lisp_Object.

14 years ago(vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
Dan Nicolaescu [Mon, 4 Jan 2010 06:40:30 +0000 (22:40 -0800)]
(vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
(vc-bzr-shelve-menu-map):
(vc-bzr-dir-extra-headers): Improve menu and tooltip text.
(vc-bzr-shelve-apply): Make prompt more explicit.

14 years ago(vc-bzr-log-view-mode): Also highlight the author.
Dan Nicolaescu [Mon, 4 Jan 2010 04:43:23 +0000 (20:43 -0800)]
(vc-bzr-log-view-mode): Also highlight the author.

14 years ago(vc-bzr-state-heuristic): Make it work for lightweight
Dan Nicolaescu [Mon, 4 Jan 2010 04:35:21 +0000 (20:35 -0800)]
(vc-bzr-state-heuristic): Make it work for lightweight
checkouts.  (Bug#618)

14 years ago* dbusbind.c (xd_add_watch): Improve debug message.
Michael Albinus [Sun, 3 Jan 2010 19:27:17 +0000 (20:27 +0100)]
* dbusbind.c (xd_add_watch): Improve debug message.
(xd_remove_watch): Improve debug message.  If DATA is the session
bus, unset D-Bus session environment.
(Fdbus_init_bus): Pass the bus as argument to
dbus_connection_set_watch_functions.  (Bug#5283)

14 years agoeieio.texi (Naming Conventions): Correction to xref on elisp
Kevin Ryde [Sat, 2 Jan 2010 21:33:36 +0000 (23:33 +0200)]
eieio.texi (Naming Conventions): Correction to xref on elisp
 coding conventions, is "Tips" node not "Standards".

14 years agomodes.texi (Example Major Modes): Fix indentation. (Bug#5195)
Eli Zaretskii [Sat, 2 Jan 2010 20:31:41 +0000 (22:31 +0200)]
modes.texi (Example Major Modes): Fix indentation.  (Bug#5195)

14 years ago* net/browse-url.el (browse-url-encode-url): Don't escape commas.
Chong Yidong [Sat, 2 Jan 2010 20:14:54 +0000 (15:14 -0500)]
* net/browse-url.el (browse-url-encode-url): Don't escape commas.
They are valid characters in URL paths (rfc3986), and at least
Firefox does not understand the encoded version (Bug#3166).

14 years agoAllow use of "end" keyword for terminating Octave-mode blocks.
Chong Yidong [Sat, 2 Jan 2010 19:40:59 +0000 (14:40 -0500)]
Allow use of "end" keyword for terminating Octave-mode blocks.

* progmodes/octave-mod.el (octave-end-keywords)
(octave-block-begin-or-end-regexp, octave-block-match-alist): Add
"end" keyword (Bug#3061).
(octave-end-as-array-index-p): New function.
(calculate-octave-indent): Use it.

14 years agoFix last change to message-exchange-point-and-mark.
Chong Yidong [Sat, 2 Jan 2010 19:18:44 +0000 (14:18 -0500)]
Fix last change to message-exchange-point-and-mark.

* message.el (message-exchange-point-and-mark): Rework last change to
avoid using optional arg of exchange-point-and-mark, for backward
compatibility.

14 years ago* lisp/bookmark.el: Consistently put the text property on the bookmark name.
Karl Fogel [Sat, 2 Jan 2010 19:14:13 +0000 (14:14 -0500)]
* lisp/bookmark.el: Consistently put the text property on the bookmark name.
  (bookmark-bmenu-marks-width): Bump back to 2, to include annotation marks.
  (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
    property on the bookmark name, instead of not putting it at all.
  (bookmark-bmenu-list): Fix where we put the text property.

14 years ago* lisp/bookmark.el: Ahh, remove silly debugging cruft, sorry for the noise.
Karl Fogel [Sat, 2 Jan 2010 19:03:25 +0000 (14:03 -0500)]
* lisp/bookmark.el: Ahh, remove silly debugging cruft, sorry for the noise.

14 years ago* lisp/bookmark.el (bookmark-bmenu-save): Just depend on the new logic
Karl Fogel [Sat, 2 Jan 2010 18:57:02 +0000 (13:57 -0500)]
* lisp/bookmark.el (bookmark-bmenu-save): Just depend on the new logic
  for showing buffer modified state (as added in the previous change).

14 years agoConsistently hex notation to represent character codes.
Chong Yidong [Sat, 2 Jan 2010 18:55:19 +0000 (13:55 -0500)]
Consistently hex notation to represent character codes.

* nonascii.texi (Text Representations, Character Codes)
(Converting Representations, Explicit Encoding)
(Translation of Characters): Use hex notation consistently.
(Character Sets): Fix map-charset-chars doc (Bug#5197).

14 years ago* lisp/bookmark.el: Show modified state of bookmark buffer more accurately.
Karl Fogel [Sat, 2 Jan 2010 18:52:32 +0000 (13:52 -0500)]
* lisp/bookmark.el: Show modified state of bookmark buffer more accurately.
  (bookmark-bmenu-list): Initialize buffer-modified-p properly.
  (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
  (with-buffer-modified-unmodified): New macro.
  (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames,
  bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
  Use new macro to preserve the buffer-modified state.

14 years ago* lisp/bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window,
Karl Fogel [Sat, 2 Jan 2010 18:13:28 +0000 (13:13 -0500)]
* lisp/bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window,
  (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
  (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
  (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
  (bookmark-bmenu-rename, bookmark-bmenu-locate)
  (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark): Remove
  unnecessary calls to `bookmark-bmenu-ensure-position'.

14 years agoemacs-lisp/easy-mmode.el (define-globalized-minor-mode): Make
Eli Zaretskii [Sat, 2 Jan 2010 17:33:54 +0000 (19:33 +0200)]
emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Make
 the lines in the generated doc string shorter.  (Bug#4668)

14 years ago* lisp/net/rcirc.el: Add follow-link binding (Bug#4738).
Chong Yidong [Sat, 2 Jan 2010 16:13:22 +0000 (11:13 -0500)]
* lisp/net/rcirc.el: Add follow-link binding (Bug#4738).

14 years agoRename cvs-update to bzr-update in lisp/ Makefiles.
Eli Zaretskii [Sat, 2 Jan 2010 10:42:11 +0000 (12:42 +0200)]
Rename cvs-update to bzr-update in lisp/ Makefiles.

 Makefile.in (bzr-update): Renamed from cvs-update.
 (cvs-update): New target for backward compatibility.

 makefile.w32-in (bzr-update): Renamed from cvs-update.
(cvs-update): New target for backward compatibility.

14 years ago.bzrignore: Add more ignored patterns, including for the MS-DOS build.
Eli Zaretskii [Sat, 2 Jan 2010 09:40:28 +0000 (11:40 +0200)]
.bzrignore: Add more ignored patterns, including for the MS-DOS build.

14 years ago* lisp/bookmark.el: Remove gratuitous gratitude.
Karl Fogel [Sat, 2 Jan 2010 08:09:17 +0000 (03:09 -0500)]
* lisp/bookmark.el: Remove gratuitous gratitude.

14 years ago* lisp/bookmark.el (bookmark-bmenu-any-marks): New function
Karl Fogel [Sat, 2 Jan 2010 07:08:02 +0000 (02:08 -0500)]
* lisp/bookmark.el (bookmark-bmenu-any-marks): New function
  (bookmark-bmenu-save): Clear buffer modification if no marks.

14 years ago* lisp/bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
Karl Fogel [Sat, 2 Jan 2010 05:00:55 +0000 (00:00 -0500)]
* lisp/bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
  (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
  positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
  This fixes the `bookmark-bmenu-execute-deletions' bug reported here:

  http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
  From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
  To: emacs-devel {_AT_} gnu.org
  Subject: bookmark.el bug report
  Date: Mon, 28 Dec 2009 14:19:16 +0800
  Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com

14 years ago* lisp/bookmark.el: Improvements suggested by Drew Adams:
Karl Fogel [Sat, 2 Jan 2010 04:36:17 +0000 (23:36 -0500)]
* lisp/bookmark.el: Improvements suggested by Drew Adams:
  (bookmark-bmenu-ensure-position): New name for
  `bookmark-bmenu-check-position'.  Just ensure the position;
  don't return any meaningful value.
  (bookmark-bmenu-header-height, bookmark-bmenu-marks-width): New constants.

14 years agolisp/ChangeLog: Fix typos.
Juanma Barranquero [Sat, 2 Jan 2010 01:06:31 +0000 (02:06 +0100)]
lisp/ChangeLog: Fix typos.

14 years agolisp/*: Fix typos in docstrings and messages.
Juanma Barranquero [Sat, 2 Jan 2010 01:05:44 +0000 (02:05 +0100)]
lisp/*: Fix typos in docstrings and messages.

14 years agolisp/org/org.el: Fix typos in error messages.
Juanma Barranquero [Sat, 2 Jan 2010 01:03:48 +0000 (02:03 +0100)]
lisp/org/org.el: Fix typos in error messages.

14 years agoetc/NEWS: Fix typos.
Juanma Barranquero [Sat, 2 Jan 2010 01:03:11 +0000 (02:03 +0100)]
etc/NEWS: Fix typos.

14 years agoFix buffer overflow in ns_get_color.
Chong Yidong [Fri, 1 Jan 2010 22:10:50 +0000 (17:10 -0500)]
Fix buffer overflow in ns_get_color.
* nsterm.m (ns_get_color): Fix buffer overflow (Bug#4763).

14 years ago* lisp/gnus/message.el (message-exchange-point-and-mark): Call
Chong Yidong [Fri, 1 Jan 2010 20:42:22 +0000 (15:42 -0500)]
* lisp/gnus/message.el (message-exchange-point-and-mark): Call
exchange-point-and-mark with an argument rather than setting
mark-active by hand (Bug#5175).

14 years ago* lisp/files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
Chong Yidong [Fri, 1 Jan 2010 20:03:37 +0000 (15:03 -0500)]
* lisp/files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).

14 years ago* lisp/ChangeLog: Update bug number in last change.
Chong Yidong [Fri, 1 Jan 2010 18:44:02 +0000 (13:44 -0500)]
* lisp/ChangeLog: Update bug number in last change.

14 years ago* comint.el (comint-input-ring-size): Make it a defcustom and
Chong Yidong [Fri, 1 Jan 2010 18:43:25 +0000 (13:43 -0500)]
* comint.el (comint-input-ring-size): Make it a defcustom and
increase the default to 500.

14 years ago* src/lread.c (syms_of_lread): Make it clearer that these are the
Chong Yidong [Fri, 1 Jan 2010 18:14:22 +0000 (13:14 -0500)]
* src/lread.c (syms_of_lread): Make it clearer that these are the
names of loaded files (Bug#5068).

* doc/lispref/loading.texi (Where Defined): Make it clearer that these
are loaded files (Bug#5068).

14 years ago* eval.c (run_hook_with_args): Handle the case where the global
Chong Yidong [Fri, 1 Jan 2010 17:14:05 +0000 (12:14 -0500)]
* eval.c (run_hook_with_args): Handle the case where the global
value has the obsolete single-function form (Bug#5026).

14 years agoBump version to 23.1.91. Regenerate AUTHORS and ldefs-boot.el.
Chong Yidong [Thu, 31 Dec 2009 02:14:46 +0000 (21:14 -0500)]
Bump version to 23.1.91.  Regenerate AUTHORS and ldefs-boot.el.

14 years agoFurther changes from EMACS_23_1_RC branch (2009-12-29 contd).
Nick Roberts [Wed, 30 Dec 2009 13:19:53 +0000 (02:19 +1300)]
Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
* term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
* progmodes/gud.el (gud-menu-map): Add reverse-execution commands.

14 years ago* doc/emacs/building.texi: Re-apply 2009-12-29T07:15:34Z!nickrob@snap.net.nz, which was
Chong Yidong [Wed, 30 Dec 2009 10:39:47 +0000 (05:39 -0500)]
* doc/emacs/building.texi: Re-apply 2009-12-29T07:15:34Z!nickrob@snap.net.nz, which was
accidentally overwritten in the last change.

14 years ago(vc-hg-working-revision): Tweak previous change.
Nick Roberts [Wed, 30 Dec 2009 06:53:47 +0000 (19:53 +1300)]
(vc-hg-working-revision): Tweak previous change.

14 years agoShow working revision correctly for mercurial.
Nick Roberts [Wed, 30 Dec 2009 02:22:45 +0000 (15:22 +1300)]
Show working revision correctly for mercurial.
* vc-hg.el (vc-hg-working-revision): Use hg parent instead of
hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>,

14 years agoFix typos in ChangeLogs.
Juanma Barranquero [Tue, 29 Dec 2009 18:29:33 +0000 (19:29 +0100)]
Fix typos in ChangeLogs.

14 years ago* doc/emacs/misc.texi (Shell): Document async-shell-command.
Chong Yidong [Tue, 29 Dec 2009 18:06:16 +0000 (13:06 -0500)]
* doc/emacs/misc.texi (Shell): Document async-shell-command.

* doc/emacs/building.texi (Grep Searching): Document zrgrep.

* doc/emacs/mini.texi (Completion Options):
* doc/lispref/minibuf.texi (Completion Styles): Document `initials' style.

14 years agoDeclare some functions for the byte-compiler.
Juanma Barranquero [Tue, 29 Dec 2009 17:44:27 +0000 (18:44 +0100)]
Declare some functions for the byte-compiler.

14 years agoThis changeset reverts GDB Graphical Interface to use annotations. It incorporates...
Nick Roberts [Tue, 29 Dec 2009 07:15:34 +0000 (20:15 +1300)]
This changeset reverts GDB Graphical Interface to use annotations.  It incorporates features added
(and never released) on the EMACS_23_1_RC branch.  Namely reverse debugging and the display of STL
collections as watch expressions.

The long term aim is to move to GDB/MI, so these changes will be re-instated at some time in the future.
At the moment, however, there are issues with gdb-mi.el that have not yet

14 years agoMake vc-dir work on subdirectories of the bzr root.
Dan Nicolaescu [Tue, 29 Dec 2009 06:46:08 +0000 (22:46 -0800)]
Make vc-dir work on subdirectories of the bzr root.
* vc-bzr.el (vc-bzr-after-dir-status): Add new argument.  Return
file names relative to it.
(vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
relative directory to vc-bzr-after-dir-status.