bpt/emacs.git
14 years ago(vc-svn-print-log): Use --limit rather than -l since the
Glenn Morris [Fri, 15 Jan 2010 03:54:36 +0000 (19:54 -0800)]
(vc-svn-print-log): Use --limit rather than -l since the
former seems to be more widely accepted by various svn versions.

14 years agoSome more pointless updates.
Glenn Morris [Fri, 15 Jan 2010 03:51:48 +0000 (19:51 -0800)]
Some more pointless updates.

14 years agoAdd log entry for new gdb icons.
Glenn Morris [Fri, 15 Jan 2010 03:49:47 +0000 (19:49 -0800)]
Add log entry for new gdb icons.

14 years agoFix Qnone definition in NS files.
Chong Yidong [Fri, 15 Jan 2010 01:46:53 +0000 (20:46 -0500)]
Fix Qnone definition in NS files.

* nsterm.m (Qnone): Define here.
* nsfns.m (Qnone): Move definition to nsterm.m.

14 years agoAdd icons for reverse debugging. (3rd attempt).
Nick Roberts [Thu, 14 Jan 2010 22:26:27 +0000 (11:26 +1300)]
Add icons for reverse debugging. (3rd attempt).

14 years agoFix typos in docstrings.
Juanma Barranquero [Thu, 14 Jan 2010 18:59:31 +0000 (19:59 +0100)]
Fix typos in docstrings.

14 years agoFix typo in error message.
Juanma Barranquero [Thu, 14 Jan 2010 18:49:53 +0000 (19:49 +0100)]
Fix typo in error message.

14 years agoFix typos in template docstrings.
Juanma Barranquero [Thu, 14 Jan 2010 18:45:02 +0000 (19:45 +0100)]
Fix typos in template docstrings.

14 years agoFix typos in comments.
Juanma Barranquero [Thu, 14 Jan 2010 18:37:23 +0000 (19:37 +0100)]
Fix typos in comments.

14 years agoFix typos in ChangeLogs and NEWS files.
Juanma Barranquero [Thu, 14 Jan 2010 18:29:36 +0000 (19:29 +0100)]
Fix typos in ChangeLogs and NEWS files.

14 years agoFix bug#5313: editing files in hexl-mode corrupts file
Juanma Barranquero [Thu, 14 Jan 2010 14:37:13 +0000 (15:37 +0100)]
Fix bug#5313: editing files in hexl-mode corrupts file

* hexl.el (hexl-printable-character): Fix check of `hexl-iso',
  which is always a string.

14 years agoSimplify previous change.
Juanma Barranquero [Thu, 14 Jan 2010 13:14:24 +0000 (14:14 +0100)]
Simplify previous change.

14 years agoDefault ada_project_path to $ADA_PROJECT_PATH.
Stephen Leake [Thu, 14 Jan 2010 13:12:05 +0000 (14:12 +0100)]
Default ada_project_path to $ADA_PROJECT_PATH.

14 years ago* progmodes/ada-mode.el: Override `narrow-to-defun' with `ada-narrow-to-defun'.
Stephen Leake [Thu, 14 Jan 2010 12:57:07 +0000 (13:57 +0100)]
* progmodes/ada-mode.el: Override `narrow-to-defun' with `ada-narrow-to-defun'.

14 years ago* progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
Stephen Leake [Thu, 14 Jan 2010 12:52:37 +0000 (13:52 +0100)]
* progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
  (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
  (ada-get-current-indent, ada-imenu-generic-expression)
  (ada-which-function): Check for it.

14 years ago* progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
Stephen Leake [Thu, 14 Jan 2010 12:36:14 +0000 (13:36 +0100)]
* progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
  (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.

14 years agoFix handling of euc-xx coding systems.
Kenichi Handa [Thu, 14 Jan 2010 11:31:16 +0000 (20:31 +0900)]
Fix handling of euc-xx coding systems.

14 years ago(show-trailing-whitespace): Safe if boolean. (Bug#5312)
Glenn Morris [Thu, 14 Jan 2010 06:13:16 +0000 (22:13 -0800)]
(show-trailing-whitespace): Safe if boolean.  (Bug#5312)

14 years agoFix typo.
Juanma Barranquero [Thu, 14 Jan 2010 04:03:24 +0000 (05:03 +0100)]
Fix typo.

14 years agofrom trunk
Kenichi Handa [Thu, 14 Jan 2010 03:54:04 +0000 (12:54 +0900)]
from trunk

14 years agoMake auto-composition work on all buffers even if they are fundamental mode.
Kenichi Handa [Thu, 14 Jan 2010 03:44:36 +0000 (12:44 +0900)]
Make auto-composition work on all buffers even if they are fundamental mode.

14 years ago* lisp/bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
Karl Fogel [Wed, 13 Jan 2010 23:25:01 +0000 (18:25 -0500)]
* lisp/bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).

14 years agoFix gc bug in terminal allocation.
Chong Yidong [Wed, 13 Jan 2010 18:35:36 +0000 (13:35 -0500)]
Fix gc bug in terminal allocation.

* xterm.c (x_term_init): Avoid garbage-collecting the new terminal
during call to vendor-specific-keysyms (Bug#5365).

14 years agoFix comment for bug#5345.
Juanma Barranquero [Wed, 13 Jan 2010 16:28:32 +0000 (17:28 +0100)]
Fix comment for bug#5345.

14 years agoFix typos in comments and ChangeLogs.
Juanma Barranquero [Wed, 13 Jan 2010 15:38:28 +0000 (16:38 +0100)]
Fix typos in comments and ChangeLogs.

14 years agoUpdate autoload checksums.
Juanma Barranquero [Wed, 13 Jan 2010 12:34:53 +0000 (13:34 +0100)]
Update autoload checksums.

14 years agoFix breakage to nt/emacsclient.rc in 2010-01-13T08:35:10Z!rgm@gnu.org
Martin Rudalics [Wed, 13 Jan 2010 12:11:48 +0000 (13:11 +0100)]
Fix breakage to nt/emacsclient.rc in 2010-01-13T08:35:10Z!rgm@gnu.org

14 years agoAdd 2010 to copyright years.
Glenn Morris [Wed, 13 Jan 2010 08:35:10 +0000 (00:35 -0800)]
Add 2010 to copyright years.

14 years agoCall SIGNAL_THREAD_CHECK from signal handlers.
YAMAMOTO Mitsuharu [Wed, 13 Jan 2010 04:42:45 +0000 (13:42 +0900)]
Call SIGNAL_THREAD_CHECK from signal handlers.

* keyboard.c (input_available_signal) [SYNC_INPUT]:
Call SIGNAL_THREAD_CHECK (Bug#5333).

* atimer.c (alarm_signal_handler) [!SYNC_INPUT]:
Call SIGNAL_THREAD_CHECK.

14 years agoTry to fix bug#5314. This is probably not the final word, tho.
Stefan Monnier [Wed, 13 Jan 2010 04:33:42 +0000 (23:33 -0500)]
Try to fix bug#5314.  This is probably not the final word, tho.
* buffer.c (Fset_buffer_modified_p): Try and be careful not to modify
recent-auto-save-p as a side-effect.
* buffer.h (BUF_AUTOSAVE_MODIFF): New macro.
* buffer.c (Fkill_buffer, reset_buffer):
* editfns.c (Fsubst_char_in_region):
* fileio.c (Finsert_file_contents, Fdo_auto_save)
(Fset_buffer_auto_saved, Frecent_auto_save_p): Use it.

14 years agomerge trunk
Kenichi Handa [Wed, 13 Jan 2010 01:33:19 +0000 (10:33 +0900)]
merge trunk

14 years agoDisplay buffer name, etc. in mode line by composing correctly.
Kenichi Handa [Wed, 13 Jan 2010 01:29:58 +0000 (10:29 +0900)]
Display buffer name, etc. in mode line by composing correctly.

14 years ago* .bzrignore: Ignore all .exe, instead of individual files.
Juanma Barranquero [Tue, 12 Jan 2010 23:55:23 +0000 (00:55 +0100)]
* .bzrignore: Ignore all .exe, instead of individual files.

14 years ago* files.el (copy-directory): Compute target for recursive
Michael Albinus [Tue, 12 Jan 2010 21:59:05 +0000 (22:59 +0100)]
* files.el (copy-directory): Compute target for recursive
directories with identical names.  (Bug#5343)

14 years agoExplicitly check for and link to -lXrender.
Chong Yidong [Tue, 12 Jan 2010 16:25:08 +0000 (11:25 -0500)]
Explicitly check for and link to -lXrender.
See http://lists.gnu.org/archive/html/emacs-devel/2010-01/msg00656.html

* configure.in: Explicitly check for and link to -lXrender.

14 years ago* keyboard.c (read_char): Don't apply previous change when current
YAMAMOTO Mitsuharu [Tue, 12 Jan 2010 10:10:51 +0000 (19:10 +0900)]
* keyboard.c (read_char): Don't apply previous change when current
buffer is unchanged by command execution.

14 years agokeyboard.c (read_char): Return after executing from special map.
Jan Djärv [Tue, 12 Jan 2010 08:12:52 +0000 (09:12 +0100)]
keyboard.c (read_char): Return after executing from special map.

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).