]> code.delx.au - gnu-emacs/log
gnu-emacs
11 years ago* doc/misc/eshell.texi: Fill most of the missing sections. origin/emacs-23
Aidan Gauland [Fri, 8 Feb 2013 14:44:17 +0000 (09:44 -0500)]
* doc/misc/eshell.texi: Fill most of the missing sections.

12 years agoquail/indian.el (indian-tlg-base-table): Fix typo; dev -> tlg.
Kenichi Handa [Sun, 4 Mar 2012 12:05:23 +0000 (21:05 +0900)]
quail/indian.el (indian-tlg-base-table): Fix typo; dev -> tlg.

12 years agocoding.c (produce_chars): Fix updating of src_end (Bug#10701).
Kenichi Handa [Wed, 8 Feb 2012 08:32:25 +0000 (17:32 +0900)]
coding.c (produce_chars): Fix updating of src_end (Bug#10701).

12 years ago* admin/nt/README.W32: Backported fixed url for image libraries from
Christoph Scholtes [Mon, 6 Feb 2012 05:06:38 +0000 (22:06 -0700)]
* admin/nt/README.W32: Backported fixed url for image libraries from
trunk. Removed explicit reference to version of libXpm included in
binary distributions for maintenance purposes.

12 years ago* src/coding.c (encode_designation_at_bol): Change return value to EMACS_INT. emacs-23.4
HIROSHI OOTA [Wed, 25 Jan 2012 05:35:05 +0000 (13:35 +0800)]
* src/coding.c (encode_designation_at_bol): Change return value to EMACS_INT.

12 years agoBump version number to 23.4
Chong Yidong [Thu, 19 Jan 2012 15:17:57 +0000 (23:17 +0800)]
Bump version number to 23.4

12 years agoFix usage of unitialized local var (backport from trunk)
Paul Eggert [Thu, 19 Jan 2012 14:35:41 +0000 (22:35 +0800)]
Fix usage of unitialized local var (backport from trunk)

* src/coding.c (encode_designation_at_bol): Don't use uninitialized
local variable (Bug#9318).

12 years agoPay attention to buffer relocation on encoding (Bug#9318; backport from trunk).
Kenichi Handa [Thu, 19 Jan 2012 14:19:21 +0000 (22:19 +0800)]
Pay attention to buffer relocation on encoding (Bug#9318; backport from trunk).

Backport of 2011-12-05T06:39:26Z!handa@m17n.org from trunk.

12 years agoDo not use ranges in FSF copyright years in emacs-23 (do not merge to trunk)
Glenn Morris [Thu, 19 Jan 2012 07:35:35 +0000 (23:35 -0800)]
Do not use ranges in FSF copyright years in emacs-23 (do not merge to trunk)

12 years agoCopy copyright fix from 2010-06-26T12:01:31Z!eliz@gnu.org to one more file.
Glenn Morris [Thu, 19 Jan 2012 07:15:48 +0000 (23:15 -0800)]
Copy copyright fix from 2010-06-26T12:01:31Z!eliz@gnu.org to one more file.

12 years agoRevert unintentional addition of 2012 to Ecma copyright years.
Glenn Morris [Thu, 19 Jan 2012 07:03:15 +0000 (23:03 -0800)]
Revert unintentional addition of 2012 to Ecma copyright years.
This was done by mistake in emacs-23 2010-06-25T08:19:11Z!agustin.martin@hispalinux.es, and then propagated
to one more file in 2010-06-26T12:01:31Z!eliz@gnu.org.

12 years agoFix python-wy.el copyright header.
Chong Yidong [Wed, 18 Jan 2012 15:11:11 +0000 (23:11 +0800)]
Fix python-wy.el copyright header.

12 years agoFix init_buffer for USE_MMAP_FOR_BUFFERS case (backport from trunk)
Yoshiaki Kasahara [Wed, 18 Jan 2012 15:01:35 +0000 (23:01 +0800)]
Fix init_buffer for USE_MMAP_FOR_BUFFERS case (backport from trunk)

* buffer.c (init_buffer) [USE_MMAP_FOR_BUFFERS]: Adjust to
aliasing change.

12 years agoReorganize Emacs 23.4 NEWS.
Chong Yidong [Wed, 18 Jan 2012 14:58:01 +0000 (22:58 +0800)]
Reorganize Emacs 23.4 NEWS.

12 years agoAdd entry for ede-project-directories to NEWS.
Chong Yidong [Sun, 15 Jan 2012 04:11:26 +0000 (12:11 +0800)]
Add entry for ede-project-directories to NEWS.

12 years ago* make-dist: Distribute the etc/grammars subdirectory. emacs-pretest-23.3.90
Chong Yidong [Sun, 15 Jan 2012 03:23:43 +0000 (11:23 +0800)]
* make-dist: Distribute the etc/grammars subdirectory.

12 years agoBump version to 23.3.90.
Chong Yidong [Sun, 15 Jan 2012 03:12:31 +0000 (11:12 +0800)]
Bump version to 23.3.90.
Regenerate ldefs-boot.el and AUTHORS.

12 years agoFix wrong font metrics for mouse highlight (backport 2011-12-15T02:12:08Z!handa@m17n...
YAMAMOTO Mitsuharu [Sun, 15 Jan 2012 02:55:52 +0000 (10:55 +0800)]
Fix wrong font metrics for mouse highlight (backport 2011-12-15T02:12:08Z!handa@m17n.org from trunk)

* src/xftfont.c (xftfont_draw): Use the font metrics of s->font to
fill background (Bug#8992).

12 years agoSome copyright header fixes for grammar files.
Chong Yidong [Sun, 15 Jan 2012 02:48:33 +0000 (10:48 +0800)]
Some copyright header fixes for grammar files.

* etc/grammars/wisent-grammar.el: Make the Python copyright the
literally required one.

* lisp/cedet/semantic/wisent/python-wy.el: Regenerate.

* lisp/cedet/semantic/wisent/js-wy.el: Add missing copyright header

Suggested by Glenn Morris.

12 years agoFix previous ChangeLog date fix (no need to merge to trunk)
Glenn Morris [Fri, 13 Jan 2012 19:15:24 +0000 (11:15 -0800)]
Fix previous ChangeLog date fix (no need to merge to trunk)

12 years agoChangeLog date fix (no need to merge to trunk)
Glenn Morris [Fri, 13 Jan 2012 17:26:05 +0000 (09:26 -0800)]
ChangeLog date fix (no need to merge to trunk)

12 years agoTake display-table into account on calculating character/string width (#Bug#9496).
Kenichi Handa [Fri, 13 Jan 2012 05:47:28 +0000 (14:47 +0900)]
Take display-table into account on calculating character/string width (#Bug#9496).

12 years ago* src/s/gnu-linux.h: Use CRT_DIR.
Sven Joachim [Thu, 12 Jan 2012 10:41:16 +0000 (18:41 +0800)]
* src/s/gnu-linux.h: Use CRT_DIR.

12 years ago* configure.in: Add i386 to cpp_undefs (Bug#8497).
Glenn Morris [Thu, 12 Jan 2012 10:11:38 +0000 (18:11 +0800)]
* configure.in: Add i386 to cpp_undefs (Bug#8497).

12 years agoAdd 2012 to FSF copyright years for Emacs files (do not merge to trunk)
Glenn Morris [Wed, 11 Jan 2012 07:52:35 +0000 (23:52 -0800)]
Add 2012 to FSF copyright years for Emacs files (do not merge to trunk)

12 years agoUpdate short copyright year to 2012 (do not merge to trunk)
Glenn Morris [Tue, 10 Jan 2012 08:32:46 +0000 (00:32 -0800)]
Update short copyright year to 2012 (do not merge to trunk)

* etc/refcards/calccard.tex, etc/refcards/cs-dired-ref.tex:
* etc/refcards/cs-refcard.tex, etc/refcards/cs-survival.tex:
* etc/refcards/de-refcard.tex, etc/refcards/dired-ref.tex:
* etc/refcards/fr-dired-ref.tex, etc/refcards/fr-refcard.tex:
* etc/refcards/fr-survival.tex, etc/refcards/orgcard.tex:
* etc/refcards/pl-refcard.tex, etc/refcards/pt-br-refcard.tex:
* etc/refcards/refcard.tex, etc/refcards/ru-refcard.tex:
* etc/refcards/sk-dired-ref.tex, etc/refcards/sk-refcard.tex:
* etc/refcards/sk-survival.tex, etc/refcards/survival.tex:
* etc/refcards/vipcard.tex, etc/refcards/viperCard.tex:
* lib-src/ebrowse.c (version) <emacs_copyright>:
* lib-src/etags.c (print_version) <emacs_copyright>:
* lib-src/rcs2log (Copyright):
* lisp/version.el (emacs-copyright):
* nextstep/Cocoa/Emacs.base/Contents/Info.plist:
* nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings:
* nextstep/GNUstep/Emacs.base/Resources/Info-gnustep.plist:
Update short copyright year to 2012.

12 years agoFix uninitialized variable in note_mouse_highlight (backport from trunk).
Eli Zaretskii [Mon, 9 Jan 2012 09:49:08 +0000 (17:49 +0800)]
Fix uninitialized variable in note_mouse_highlight (backport from trunk).

* xdisp.c (note_mouse_highlight): Initialize `area'.  (Bug#9947)

12 years agoAvoid crash on composition (backport from trunk).
Johan Bockgård [Mon, 9 Jan 2012 09:44:18 +0000 (17:44 +0800)]
Avoid crash on composition (backport from trunk).

* xdisp.c (fill_composite_glyph_string): Always set s->face, to
avoid a crash (bug#9496).

12 years agoFix last commit.
Chong Yidong [Mon, 9 Jan 2012 09:40:11 +0000 (17:40 +0800)]
Fix last commit.

12 years agoFix use of uninitialized var (backport from trunk).
Chong Yidong [Mon, 9 Jan 2012 09:35:21 +0000 (17:35 +0800)]
Fix use of uninitialized var (backport from trunk).

* xdisp.c (note_mouse_highlight): Fix use of uninitialized var.

12 years agoFix use of uninitialized variable (backport from trunk).
Eli Zaretskii [Mon, 9 Jan 2012 09:27:02 +0000 (17:27 +0800)]
Fix use of uninitialized variable (backport from trunk).

* xdisp.c (note_mouse_highlight): Initialize `part', to avoid a
possible random value that matches one of those tested as
condition to clear the mouse face.

12 years agoFix glitch in scrolling_window (backport from trunk).
YAMAMOTO Mitsuharu [Mon, 9 Jan 2012 09:23:36 +0000 (17:23 +0800)]
Fix glitch in scrolling_window (backport from trunk).

* dispnew.c (scrolling_window): Truncate overlaps in copy
destination of scroll runs so as to avoid assigning disabled bogus
rows and unnecessary graphics copy operations.

12 years agoBackport Bug#9990 fix from trunk
Eli Zaretskii [Mon, 9 Jan 2012 09:13:27 +0000 (17:13 +0800)]
Backport Bug#9990 fix from trunk

* src/dispnew.c (scrolling_window): Fix incorrect indices in accessing
current_matrix and desired_matrix.  (Bug#9990)

12 years agoFix EDE security flaw involving loading arbitrary Lisp from Project.ede.
Eric M. Ludlam [Mon, 9 Jan 2012 06:12:11 +0000 (14:12 +0800)]
Fix EDE security flaw involving loading arbitrary Lisp from Project.ede.

* lisp/ede.el (ede-project-directories): New option.
(ede-directory-safe-p): Check it.
(ede-initialize-state-current-buffer, ede, ede-new)
(ede-check-project-directory, ede-rescan-toplevel)
(ede-load-project-file, ede-parent-project, ede-current-project):
(ede-target-parent): Avoid loading in a project unless it is safe,
since it may involve malicious code.  This security flaw was
pointed out by Hiroshi Oota.

* lisp/ede/auto.el (ede-project-autoload): Add safe-p slot.
(ede-project-class-files): Projects using Project.ede are unsafe.
(ede-auto-load-project): New method.

* lisp/ede/simple.el (ede-project-class-files): Mark as unsafe.

12 years agoAdd CEDET grammar files to emacs-23 branch.
Chong Yidong [Mon, 9 Jan 2012 05:42:57 +0000 (13:42 +0800)]
Add CEDET grammar files to emacs-23 branch.

12 years ago* variables.texi (Creating Buffer-Local): Warn against misuses of
Stefan Monnier [Tue, 27 Dec 2011 23:48:53 +0000 (18:48 -0500)]
* variables.texi (Creating Buffer-Local): Warn against misuses of
make-variable-buffer-local.

Fixes: debbugs:10258
12 years agoFix memory leak by y-or-n-p-with-timeout with GUI (Bug#9830).
YAMAMOTO Mitsuharu [Mon, 31 Oct 2011 03:08:54 +0000 (12:08 +0900)]
Fix memory leak by y-or-n-p-with-timeout with GUI (Bug#9830).

* xmenu.c (cleanup_widget_value_tree): New function.
(xmenu_show, xdialog_show): Use it in record_unwind_protect instead of
calling free_menubar_widget_value_tree directly (Bug#9830).

12 years ago* src/keymap.c (Fsingle_key_description): Use make_specified_string
Andreas Schwab [Mon, 19 Sep 2011 21:15:47 +0000 (23:15 +0200)]
* src/keymap.c (Fsingle_key_description): Use make_specified_string
instead of build_string to build string from push_key_description.
(Bug#5193)

12 years ago* xdisp.c (expose_window): Save original value of phys_cursor_on_p and turn window...
YAMAMOTO Mitsuharu [Sat, 10 Sep 2011 06:54:04 +0000 (15:54 +0900)]
* xdisp.c (expose_window): Save original value of phys_cursor_on_p and turn window cursor on if cleared (Bug#9415).

12 years ago* src/search.c (boyer_moore): Take unibyte characters from pattern
Andreas Schwab [Wed, 7 Sep 2011 16:48:37 +0000 (18:48 +0200)]
* src/search.c (boyer_moore): Take unibyte characters from pattern
literally.  (Bug#9458)

12 years agoFix syntax scanning bug causing fontification crashes.
Chong Yidong [Tue, 30 Aug 2011 22:38:07 +0000 (18:38 -0400)]
Fix syntax scanning bug causing fontification crashes.

* src/syntax.c (find_defun_start): Update all cache variables if
exiting early.

Fixes: debbugs:9401
12 years ago* dic/lispref/lists.texi (Building Lists): Fix typo.
Dani Moncayo [Sun, 28 Aug 2011 19:08:45 +0000 (15:08 -0400)]
* dic/lispref/lists.texi (Building Lists): Fix typo.

12 years agoBackport 2011-06-04T11:02:37Z!deniz@dogan.se (Bug#8799) from trunk
Chong Yidong [Sun, 21 Aug 2011 03:12:09 +0000 (23:12 -0400)]
Backport 2011-06-04T11:02:37Z!deniz@dogan.se (Bug#8799) from trunk

12 years agoBackport license fix from trunk (remove duplicate, incorrect license).
Glenn Morris [Sat, 20 Aug 2011 22:14:27 +0000 (15:14 -0700)]
Backport license fix from trunk (remove duplicate, incorrect license).

12 years agoFix implicit declaration of kbd_on_hold_p
Andreas Schwab [Fri, 19 Aug 2011 15:58:27 +0000 (17:58 +0200)]
Fix implicit declaration of kbd_on_hold_p

* keyboard.c: Include "process.h"

12 years ago* hi-lock.el (hi-lock-unface-buffer): Fix interactive spec (Bug#7554).
Chong Yidong [Tue, 9 Aug 2011 21:55:34 +0000 (17:55 -0400)]
* hi-lock.el (hi-lock-unface-buffer): Fix interactive spec (Bug#7554).

12 years agoFixes: debbugs:6594
Andreas Schwab [Thu, 28 Jul 2011 18:40:28 +0000 (20:40 +0200)]
Fixes: debbugs:6594
* lisp/xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
character.

12 years agoBackport 2010-07-03T14:42:02Z!eliz@gnu.org from trunk
Chong Yidong [Thu, 28 Jul 2011 15:45:07 +0000 (11:45 -0400)]
Backport 2010-07-03T14:42:02Z!eliz@gnu.org from trunk

12 years ago* fontset.c (fontset_get_font_group): Add proper type checks.
Andreas Schwab [Tue, 26 Jul 2011 11:00:23 +0000 (13:00 +0200)]
* fontset.c (fontset_get_font_group): Add proper type checks.
(Bug#9172)

12 years agoSupport LC_FUNCTION_STARTS load command on Darwin.
YAMAMOTO Mitsuharu [Sat, 23 Jul 2011 04:04:58 +0000 (13:04 +0900)]
Support LC_FUNCTION_STARTS load command on Darwin.

12 years agoMerge fix for Bug#4238 from trunk
Chong Yidong [Fri, 22 Jul 2011 15:23:10 +0000 (11:23 -0400)]
Merge fix for Bug#4238 from trunk

12 years agoChangeLog fix.
Glenn Morris [Sat, 16 Jul 2011 20:06:21 +0000 (13:06 -0700)]
ChangeLog fix.

12 years ago* window.el (split-window-horizontally): Doc fix (Bug#9060).
Chong Yidong [Tue, 12 Jul 2011 16:01:34 +0000 (12:01 -0400)]
* window.el (split-window-horizontally): Doc fix (Bug#9060).

12 years agoSuppress address randomization on Darwin. Do not merge into trunk.
YAMAMOTO Mitsuharu [Mon, 11 Jul 2011 23:07:49 +0000 (08:07 +0900)]
Suppress address randomization on Darwin.  Do not merge into trunk.

12 years agoIgnore a static composition that starts before the current checking position in redis...
Kenichi Handa [Thu, 7 Jul 2011 07:11:54 +0000 (16:11 +0900)]
Ignore a static composition that starts before the current checking position in redisplay.

12 years agoChangeLog fix.
Glenn Morris [Wed, 6 Jul 2011 02:34:08 +0000 (19:34 -0700)]
ChangeLog fix.

12 years ago* customize.texi (Composite Types): Move alist/plist from Simple Types (Bug#7545).
Chong Yidong [Sun, 3 Jul 2011 00:45:24 +0000 (20:45 -0400)]
* customize.texi (Composite Types): Move alist/plist from Simple Types (Bug#7545).

* elisp.texi (Top): Update menu description.

12 years ago* display.texi (Face Attributes): Document negative line widths (Bug#6113).
Chong Yidong [Sun, 3 Jul 2011 00:24:00 +0000 (20:24 -0400)]
* display.texi (Face Attributes): Document negative line widths (Bug#6113).

12 years agoMark tiny change.
Glenn Morris [Tue, 28 Jun 2011 01:09:47 +0000 (18:09 -0700)]
Mark tiny change.

12 years ago* lisp/progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
Chong Yidong [Mon, 27 Jun 2011 21:38:14 +0000 (17:38 -0400)]
* lisp/progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).

12 years agoMerge fix for Bug#8870 from trunk
Chong Yidong [Mon, 27 Jun 2011 21:16:28 +0000 (17:16 -0400)]
Merge fix for Bug#8870 from trunk

12 years ago* frame.el (special-display-popup-frame): Doc fix (Bug#8853).
Chong Yidong [Sun, 19 Jun 2011 19:05:15 +0000 (15:05 -0400)]
* frame.el (special-display-popup-frame): Doc fix (Bug#8853).

12 years ago* info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
Chong Yidong [Sun, 19 Jun 2011 18:42:23 +0000 (14:42 -0400)]
* info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).

12 years agoMerge fix for Bug#8879 from trunk
Chong Yidong [Sat, 18 Jun 2011 19:23:43 +0000 (15:23 -0400)]
Merge fix for Bug#8879 from trunk

12 years ago* dispnew.c (scrolling_window): Before scrolling, turn off a mouse-highlight in the...
YAMAMOTO Mitsuharu [Sat, 18 Jun 2011 00:37:38 +0000 (09:37 +0900)]
* dispnew.c (scrolling_window): Before scrolling, turn off a mouse-highlight in the window being scrolled.

12 years agoFix ChangeLog entry (no need to merge to trunk)
Glenn Morris [Fri, 17 Jun 2011 06:54:08 +0000 (23:54 -0700)]
Fix ChangeLog entry (no need to merge to trunk)

12 years agoMerge: nsmenu.m: Replace all uses of XVECTOR with ASIZE and AREF.
Paul Eggert [Thu, 16 Jun 2011 15:31:16 +0000 (11:31 -0400)]
Merge: nsmenu.m: Replace all uses of XVECTOR with ASIZE and AREF.

12 years agoFix errors in 2011-05-29 change to Lisp manual.
Chong Yidong [Tue, 14 Jun 2011 15:13:26 +0000 (11:13 -0400)]
Fix errors in 2011-05-29 change to Lisp manual.

* doc/lispref/keymaps.texi (Searching Keymaps):
* doc/lispref/display.texi (Overlay Properties): Fix errors in 2011-05-29
change.  Suggested by Johan Bockgård.

12 years agoFix bug #8780 with decoding files after using ange-ftp.
Eli Zaretskii [Thu, 9 Jun 2011 09:40:51 +0000 (12:40 +0300)]
Fix bug #8780 with decoding files after using ange-ftp.

 lisp/net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
 buffer-file-type before setting its value, to avoid disastrous
 global effects on decoding files for DOS/Windows systems.

12 years agoFixes bug#8730, bug#8781. Do not merge into trunk.
Juanma Barranquero [Sun, 5 Jun 2011 00:32:23 +0000 (02:32 +0200)]
Fixes bug#8730, bug#8781.  Do not merge into trunk.

lisp/progmodes/python.el (python-after-info-look): Add autoload cookie.
(python-unload-function): New function.

12 years ago* flymake.el (flymake-compilation-prevents-syntax-check): Doc fix (Bug#8713).
Reuben Thomas [Sat, 4 Jun 2011 23:06:53 +0000 (19:06 -0400)]
* flymake.el (flymake-compilation-prevents-syntax-check): Doc fix (Bug#8713).

12 years ago* lisp/repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
Chong Yidong [Sat, 4 Jun 2011 23:00:29 +0000 (19:00 -0400)]
* lisp/repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).

12 years agolisp/loadhist.el (unload-feature-special-hooks): Add comint-output-filter-functions.
Juanma Barranquero [Sat, 4 Jun 2011 21:30:14 +0000 (23:30 +0200)]
lisp/loadhist.el (unload-feature-special-hooks): Add comint-output-filter-functions.

13 years ago* src/emacs.c (main): Warn when starting a GTK emacs in daemon mode.
Dan Nicolaescu [Thu, 2 Jun 2011 16:56:04 +0000 (09:56 -0700)]
* src/emacs.c (main): Warn when starting a GTK emacs in daemon mode.

13 years ago* fringe.c (update_window_fringes): Don't update overlay arrow bitmap in the current...
YAMAMOTO Mitsuharu [Wed, 1 Jun 2011 01:36:38 +0000 (10:36 +0900)]
* fringe.c (update_window_fringes): Don't update overlay arrow bitmap in the current matrix if keep_current_p is non-zero.

13 years agoTweaks to lisp manual to remove over/underflows in printed version.
Chong Yidong [Sun, 29 May 2011 17:18:46 +0000 (13:18 -0400)]
Tweaks to lisp manual to remove over/underflows in printed version.

* help.texi (Accessing Documentation):
* display.texi (Pixel Specification):
* processes.texi (Serial Ports, Serial Ports):
* nonascii.texi (Character Properties, Default Coding Systems):
* text.texi (Changing Properties, Special Properties):
* windows.texi (Window Start and End):
* modes.texi (SMIE Indentation Example, SMIE Tricks):
* keymaps.texi (Searching Keymaps, Tool Bar):
* minibuf.texi (Basic Completion):
* compile.texi (Eval During Compile):
* strings.texi (Formatting Strings): Tweaks to avoid overflowing
7x9 paper in printed manual.

* lists.texi (Sets And Lists): Fix misplaced text.

13 years agomail/sendmail.el (mail-encode-header): Avoid double encoding by let-binding rfc2047...
Kenichi Handa [Fri, 27 May 2011 04:54:39 +0000 (13:54 +0900)]
mail/sendmail.el (mail-encode-header): Avoid double encoding by let-binding rfc2047-encode-encoded-words to nil.

13 years agoTake account of periodic fringe bitmap's dependency on y-position in redrawing.
YAMAMOTO Mitsuharu [Wed, 25 May 2011 03:06:05 +0000 (12:06 +0900)]
Take account of periodic fringe bitmap's dependency on y-position in redrawing.

* dispextern.h (struct glyph_row): New member fringe_bitmap_periodic_p.

* dispnew.c (shift_glyph_matrix, scrolling_window): Mark scrolled row
for fringe update if it has periodic bitmap.
(row_equal_p): Also compare left_fringe_offset, right_fringe_offset,
and fringe_bitmap_periodic_p.

* fringe.c (get_fringe_bitmap_data): New function.
(draw_fringe_bitmap_1, update_window_fringes): Use it.
(update_window_fringes): Record periodicity of fringe bitmap in glyph
row.  Mark glyph row for fringe update if periodicity changed.

* xdisp.c (try_window_reusing_current_matrix): Don't mark scrolled row
for fringe update unless it has periodic bitmap.

13 years agomerge emacs-23
Kenichi Handa [Wed, 25 May 2011 02:45:30 +0000 (11:45 +0900)]
merge emacs-23

13 years agoxdisp.c (get_next_display_element): Set correct it->face_id for a static composition.
Kenichi Handa [Wed, 25 May 2011 01:26:35 +0000 (10:26 +0900)]
xdisp.c (get_next_display_element): Set correct it->face_id for a static composition.

13 years agoRFC2047-encode header of outgoing mails.
Kenichi Handa [Mon, 23 May 2011 04:44:29 +0000 (13:44 +0900)]
RFC2047-encode header of outgoing mails.

13 years agoMark last change as tiny.
Chong Yidong [Sun, 22 May 2011 18:47:51 +0000 (14:47 -0400)]
Mark last change as tiny.

13 years agoFix for sc-nested-citation-p in supercite.el.
Sean Neakums [Sun, 22 May 2011 18:46:49 +0000 (14:46 -0400)]
Fix for sc-nested-citation-p in supercite.el.

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=109145

* mail/supercite.el (sc-default-cite-frame): Handle
sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.

13 years ago* dispnew.c (scrolling_window): Don't exclude the case that the
YAMAMOTO Mitsuharu [Sat, 21 May 2011 01:56:45 +0000 (10:56 +0900)]
* dispnew.c (scrolling_window): Don't exclude the case that the
last enabled row in the desired matrix touches the bottom boundary.

13 years agoFix last change
Andreas Schwab [Mon, 16 May 2011 12:29:35 +0000 (14:29 +0200)]
Fix last change

13 years agoBackport fix for Bug#8672 from trunk
Chong Yidong [Sun, 15 May 2011 14:22:31 +0000 (10:22 -0400)]
Backport fix for Bug#8672 from trunk

13 years agoText-fitting fixes for printed Emacs manual on 7x9 paper.
Chong Yidong [Sun, 15 May 2011 14:21:31 +0000 (10:21 -0400)]
Text-fitting fixes for printed Emacs manual on 7x9 paper.

* building.texi (Flymake, Breakpoints Buffer):
* calendar.texi (Appointments):
* cmdargs.texi (General Variables, Display X):
* custom.texi (Saving Customizations, Face Customization)
(Directory Variables, Minibuffer Maps, Init Rebinding):
* display.texi (Font Lock, Font Lock, Useless Whitespace):
* fixit.texi (Spelling):
* frames.texi (Creating Frames, Fonts):
* help.texi (Help Files):
* mini.texi (Minibuffer File):
* misc.texi (emacsclient Options, Emulation):
* msdog.texi (Windows Startup, Windows HOME, Windows Fonts):
* mule.texi (International Chars, Language Environments)
(Select Input Method, Modifying Fontsets, Charsets):
* programs.texi (Custom C Indent):
* rmail.texi (Rmail Labels):
* text.texi (Table Conversion):
* trouble.texi (Known Problems, Known Problems):
* windows.texi (Change Window):
* xresources.texi (GTK resources): Reflow text and re-indent code
examples to avoid TeX overflows and underflows on 7x9 paper.

* emacs.texi: Fix the (commented out) smallbook command.

* macos.texi (Mac / GNUstep Events):
* xresources.texi (Lucid Resources): Remove extraneous examples.

13 years agoBackport fix for Bug#8672 from trunk
Chong Yidong [Sun, 15 May 2011 14:12:51 +0000 (10:12 -0400)]
Backport fix for Bug#8672 from trunk

13 years agolisp/progmodes/python.el: Highlight keyword "nonlocal" (bug#8639).
Juanma Barranquero [Fri, 13 May 2011 12:44:48 +0000 (14:44 +0200)]
lisp/progmodes/python.el: Highlight keyword "nonlocal" (bug#8639).

13 years agosrc/textprop.c (Fprevious_single_char_property_change): Doc fix (bug#8655).
Drew Adams [Wed, 11 May 2011 16:38:18 +0000 (18:38 +0200)]
src/textprop.c (Fprevious_single_char_property_change): Doc fix (bug#8655).

13 years agoTake account of fringe background extension in scroll_run_hook.
YAMAMOTO Mitsuharu [Wed, 11 May 2011 03:13:58 +0000 (12:13 +0900)]
Take account of fringe background extension in scroll_run_hook.

* w32term.c (w32_draw_fringe_bitmap): Rename local vars `left' and
`width' to `bar_area_x' and `bar_area_width', respectively.
(x_scroll_run): Take account of fringe background extension.

* xterm.c (x_draw_fringe_bitmap) [USE_TOOLKIT_SCROLL_BARS]: Rename
local vars `left' and `width' to `bar_area_x' and
`bar_area_width', respectively.
(x_scroll_run) [USE_TOOLKIT_SCROLL_BARS]: Take account of fringe
background extension.

13 years agoTypo fix in doc/lispref/files.texi.
Eli Zaretskii [Mon, 9 May 2011 20:38:50 +0000 (23:38 +0300)]
Typo fix in doc/lispref/files.texi.

13 years agoMinor portability fix in smerge-mode.el.
Eli Zaretskii [Mon, 9 May 2011 15:21:54 +0000 (18:21 +0300)]
Minor portability fix in smerge-mode.el.

 lisp/smerge-mode.el (smerge-resolve): Use null-device rather than a
 literal "/dev/null".

13 years ago* lisp/emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
Stefan Monnier [Mon, 9 May 2011 15:17:05 +0000 (12:17 -0300)]
* lisp/emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
Fix typo.

13 years ago* xmenu.c (set_frame_menubar): Fix submenu loops.
Andreas Schwab [Mon, 9 May 2011 11:13:02 +0000 (13:13 +0200)]
* xmenu.c (set_frame_menubar): Fix submenu loops.

13 years agoBackport revisions 2011-04-24T05:30:24Z!eggert@cs.ucla.edu..2011-04-25T19:40:22Z...
Eli Zaretskii [Mon, 9 May 2011 09:59:23 +0000 (05:59 -0400)]
Backport revisions 2011-04-24T05:30:24Z!eggert@cs.ucla.edu..2011-04-25T19:40:22Z!eggert@cs.ucla.edu (inclusive) from trunk (bug#8623)

The next log entry shows the actual changes by Paul Eggert.

 Fix a problem with aliasing and vector headers.
 GCC 4.6.0 optimizes based on type-based alias analysis.  For
 example, if b is of type struct buffer * and v of type struct
 Lisp_Vector *, then gcc -O2 was incorrectly assuming that &b->size
 != &v->size, and therefore "v->size = 1; b->size = 2; return
 v->size;" must therefore return 1.  This assumption is incorrect
 for Emacs, since it type-puns struct Lisp_Vector * with many other
 types.  To fix this problem, this patch adds a new type struct
 vector_header that documents the constraints on layout of vectors
 and pseudovectors, and helps optimizing compilers not get fooled
 by Emacs's type punning.  It also adds the macros XSETTYPED_PVECTYPE
 XSETTYPED_PSEUDOVECTOR, TYPED_PSEUDOVECTORP, for similar reasons.
 src/lisp.h (XVECTOR_SIZE): New convenience macro.  All previous uses of
 XVECTOR (foo)->size replaced to use this macro, to avoid the hassle
 of writing XVECTOR (foo)->header.size.
 src/lisp.h: Say "vectorlike header" rather than "vector header.
 (struct vectorlike_header): Rename from struct vector_header.
 (XVECTORLIKE_HEADER_SIZE): Renamed from XVECTOR_HEADER_SIZE.
 All uses changed.
 (XVECTOR_HEADER_SIZE): New macro, for use in XSETPSEUDOVECTOR.
 (XSETTYPED_PVECTYPE): New macro, specifying the name of the size
 member.
 (XSETPVECTYPE): Rewrite in terms of new macro.
 (XSETPVECTYPESIZE): New macro, specifying both type and size.
 This is a bit clearer, and further avoids the possibility of
 undesirable aliasing.
 (XSETTYPED_PSEUDOVECTOR): New macro, specifying the size.
 (XSETPSEUDOVECTOR): Rewrite in terms of XSETTYPED_PSEUDOVECTOR
 and XVECTOR_HEADER_SIZE.
 (XSETSUBR): Rewrite in terms of XSETTYPED_PSEUDOVECTOR and XSIZE,
 since Lisp_Subr is a special case (no "next" field).
 (ASIZE): Rewrite in terms of XVECTOR_SIZE.
 (struct vector_header): New type.
 (TYPED_PSEUDOVECTORP): New macro, also specifying the C type of the
 object, to help avoid aliasing.
 (PSEUDOVECTORP): Rewrite in terms of TYPED_PSEUDOVECTORP.
 (SUBRP): Likewise, since Lisp_Subr is a special case.
 src/lisp.h (struct Lisp_Vector, struct Lisp_Char_Table):
 (struct Lisp_Sub_Char_Table, struct Lisp_Bool_Vector):
 (struct Lisp_Hash_Table): Combine first two members into a single
 struct vector_header member.  All uses of "size" and "next" members
 changed to be "header.size" and "header.next".
 src/buffer.h (struct buffer): Likewise.
 src/font.h (struct font_spec, struct font_entity, struct font): Likewise.
 src/frame.h (struct frame): Likewise.
 src/process.h (struct Lisp_Process): Likewise.
 src/termhooks.h (struct terminal): Likewise.
 src/window.c (struct save_window_data, struct saved_window): Likewise.
 src/window.h (struct window): Likewise.
 src/alloc.c (allocate_buffer, Fmake_bool_vector, allocate_pseudovector):
 Use XSETPVECTYPESIZE, not XSETPVECTYPE, to avoid aliasing problems.
 src/buffer.c (init_buffer_once): Likewise.
 src/lread.c (defsubr): Use XSETTYPED_PVECTYPE, since Lisp_Subr is a
 special case.
 src/process.c (Fformat_network_address): Use local var for size,
 for brevity.
 src/fns.c (vector): Remove; this old hack is no longer needed.
 src/bytecode.c (exec_byte_code): Don't use XVECTOR before CHECK_VECTOR.

13 years agoHandle missing add-log-current-defun-function in Which Func mode (Bug#8260)
Ralph Schleicher [Sun, 8 May 2011 18:29:35 +0000 (14:29 -0400)]
Handle missing add-log-current-defun-function in Which Func mode (Bug#8260)

* lisp/progmodes/which-func.el (which-function): Use
add-log-current-defun instead of add-log-current-defun-function,
which might not be defined.

13 years ago* lispref/modes.texi (Region to Refontify): Rename from "Region to Fontify".
Stefan Monnier [Fri, 6 May 2011 14:32:26 +0000 (11:32 -0300)]
* lispref/modes.texi (Region to Refontify): Rename from "Region to Fontify".
(Multiline Font Lock):
* lispref/vol2.texi (Top):
* lispref/vol1.texi (Top):
* lispref/elisp.texi (Top): Update menu accordingly.

13 years agodoc/lispref/modes.texi (Region to Fontify): Fix typo.
Drew Adams [Thu, 5 May 2011 23:04:47 +0000 (01:04 +0200)]
doc/lispref/modes.texi (Region to Fontify): Fix typo.

13 years agoetc/NEWS: Separate post-23.3 entries.
Eli Zaretskii [Fri, 29 Apr 2011 14:27:57 +0000 (17:27 +0300)]
etc/NEWS: Separate post-23.3 entries.