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

13 years agoAllow the Windows build to use upto 2GB of heap.
Eli Zaretskii [Fri, 29 Apr 2011 14:23:44 +0000 (17:23 +0300)]
Allow the Windows build to use upto 2GB of heap.

 src/w32heap.c (allocate_heap) [USE_LISP_UNION_TYPE || USE_LSB_TAG]:
 New version that can reserve upto 2GB of heap space.
 etc/NEWS: Mention the new feature.

13 years agoFix bug #8563 with TeX input method.
Eli Zaretskii [Thu, 28 Apr 2011 17:20:43 +0000 (20:20 +0300)]
Fix bug #8563 with TeX input method.

 leim/quail/latin-ltx.el <\beth, \gimel, \daleth>: Produce
 corresponding symbols rather than Hebrew letters.

13 years agoFix bug #8563 with \aleph in TeX input method.
Eli Zaretskii [Wed, 27 Apr 2011 20:34:56 +0000 (23:34 +0300)]
Fix bug #8563 with \aleph in TeX input method.

 leim/quail/latin-ltx.el <\aleph>: Produce ALEF SYMBOL instead of
 HEBREW LETTER ALEF.

13 years ago* src/nsfns.m (Fns_read_file_name): Doc fix (Bug#8534).
Chong Yidong [Tue, 26 Apr 2011 18:31:04 +0000 (14:31 -0400)]
* src/nsfns.m (Fns_read_file_name): Doc fix (Bug#8534).

13 years ago* net/tramp.el (tramp-process-actions): Add POS argument. Delete
Michael Albinus [Mon, 25 Apr 2011 17:58:27 +0000 (19:58 +0200)]
* net/tramp.el (tramp-process-actions): Add POS argument.  Delete
region between POS and (pos).
(tramp-do-copy-or-rename-file-out-of-band): Use `nil' position in
`tramp-process-actions' call.
(tramp-maybe-open-connection): Call `tramp-process-actions' with pos.

* net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
position in `tramp-process-actions' call.

13 years agoUse correct match group (bug#8438).
Daniel Colascione [Mon, 25 Apr 2011 00:20:47 +0000 (17:20 -0700)]
Use correct match group (bug#8438).

13 years agolisp/buff-menu.el (Buffer-menu--buffers): Fix typo in docstring.
Juanma Barranquero [Fri, 22 Apr 2011 18:49:58 +0000 (20:49 +0200)]
lisp/buff-menu.el (Buffer-menu--buffers): Fix typo in docstring.

Fixes: debbugs:8535

13 years agolisp/play/mpuz.el: Small fixes.
Juanma Barranquero [Thu, 21 Apr 2011 12:06:01 +0000 (14:06 +0200)]
lisp/play/mpuz.el: Small fixes.

* play/mpuz (mpuz-silent): Doc fix.
  (mpuz-mode-map): Move initialization into declaration.
  (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
  (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
  Fix typos in docstrings.

13 years agolisp/play/doctor.el: Fix typos in docstrings.
Juanma Barranquero [Thu, 21 Apr 2011 02:45:31 +0000 (04:45 +0200)]
lisp/play/doctor.el: Fix typos in docstrings.

13 years agoChangeLog whitespace fix (no need to merge to trunk).
Glenn Morris [Wed, 20 Apr 2011 02:11:41 +0000 (19:11 -0700)]
ChangeLog whitespace fix (no need to merge to trunk).

13 years agoFix a bug in time functions when timezone is changed on Windows.
Eli Zaretskii [Mon, 18 Apr 2011 08:33:58 +0000 (11:33 +0300)]
Fix a bug in time functions when timezone is changed on Windows.

 src/s/ms-w32.h (localtime): Redirect to sys_localtime.
 src/w32.c: Include <time.h>.
 (sys_localtime): New function.

13 years agolisp/mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
Juanma Barranquero [Fri, 15 Apr 2011 02:56:50 +0000 (04:56 +0200)]
lisp/mouse-drag.el (mouse-drag-throw): Fix typo in docstring.

13 years ago* xdisp.c (init_xdisp): Initialize echo_area_window (Bug#6451).
Chong Yidong [Wed, 13 Apr 2011 18:19:23 +0000 (14:19 -0400)]
* xdisp.c (init_xdisp): Initialize echo_area_window (Bug#6451).

13 years agoFix typos.
Juanma Barranquero [Wed, 13 Apr 2011 11:50:12 +0000 (13:50 +0200)]
Fix typos.

13 years agoFix wait_for_termination on GNU Hurd (Bug#8467)
Samuel Thibault [Sun, 10 Apr 2011 22:05:04 +0000 (18:05 -0400)]
Fix wait_for_termination on GNU Hurd (Bug#8467)

* sysdep.c (wait_for_termination): On GNU Hurd, kill returns -1 on zombies.

13 years agoFix completion-auto-help/icomplete-mode bad interaction (Bug#5849).
Chong Yidong [Sun, 10 Apr 2011 21:07:40 +0000 (17:07 -0400)]
Fix completion-auto-help/icomplete-mode bad interaction (Bug#5849).

* minibuffer.el (completion--do-completion): Avoid the "Next char
not unique" prompt if icomplete-mode is enabled.

13 years ago* src/buffer.c (syms_of_buffer): Doc fix (Bug#6902).
Chong Yidong [Sun, 10 Apr 2011 20:55:52 +0000 (16:55 -0400)]
* src/buffer.c (syms_of_buffer): Doc fix (Bug#6902).

13 years agoFix for what-page (Bug#6825).
Chong Yidong [Sun, 10 Apr 2011 20:52:31 +0000 (16:52 -0400)]
Fix for what-page (Bug#6825).

* textmodes/page.el (what-page): Use line-number-at-pos to
calculate line number.

13 years agoDoc fix for left-fringe and right-fringe parameters (Bug#6930)
Chong Yidong [Sun, 10 Apr 2011 20:43:35 +0000 (16:43 -0400)]
Doc fix for left-fringe and right-fringe parameters (Bug#6930)

* doc/lispref/frames.texi (Layout Parameters): Note the difference
between querying and setting parameters for left-fringe and
right-fringe.

13 years agoHandle deferred `event-kind' property when using unread-command-events.
Chong Yidong [Sun, 10 Apr 2011 02:10:52 +0000 (22:10 -0400)]
Handle deferred `event-kind' property when using unread-command-events.

* src/mouse.el (mouse-drag-mode-line-1): Make sure that if we push
mouse-2 into unread-command-events, it is interpreted correctly.

13 years agoFix last change.
Chong Yidong [Sat, 9 Apr 2011 20:29:22 +0000 (16:29 -0400)]
Fix last change.

13 years agoImage mode doc fixes (Bug#8098).
Chong Yidong [Sat, 9 Apr 2011 19:57:47 +0000 (15:57 -0400)]
Image mode doc fixes (Bug#8098).

* lisp/image-mode.el (image-type, image-mode-map, image-minor-mode-map)
(image-toggle-display): Doc fixes.

13 years agoMark tiny change.
Glenn Morris [Sat, 9 Apr 2011 17:37:33 +0000 (10:37 -0700)]
Mark tiny change.

13 years agoFix ChangeLog attribution.
Glenn Morris [Sat, 9 Apr 2011 17:31:13 +0000 (10:31 -0700)]
Fix ChangeLog attribution.

See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8450
and http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=610576

13 years agoFix more GCC strict-aliasing warnings.
Chong Yidong [Fri, 8 Apr 2011 20:41:28 +0000 (16:41 -0400)]
Fix more GCC strict-aliasing warnings.

* src/ftfont.c (get_adstyle_property, ftfont_pattern_entity): Use
unsigned char, to match FcChar8 type definition.

* src/xmenu.c (create_and_show_popup_menu):
* src/xselect.c (x_decline_selection_request)
(x_reply_selection_request): Avoid type-punned deref of X events.

13 years ago* xterm.c (handle_one_xevent): Avoid type-punned derefencing of X events.
Chong Yidong [Fri, 8 Apr 2011 19:18:25 +0000 (15:18 -0400)]
* xterm.c (handle_one_xevent): Avoid type-punned derefencing of X events.

13 years ago* term.c (init_tty): Fix incorrect ifdef placement (Bug#8450).
Svante Signell [Fri, 8 Apr 2011 18:44:36 +0000 (14:44 -0400)]
* term.c (init_tty): Fix incorrect ifdef placement (Bug#8450).

13 years agoBackport 2011-04-04T22:08:01Z!lekktu@gmail.com and 2011-04-04T22:33:12Z!lekktu@gmail...
Juanma Barranquero [Wed, 6 Apr 2011 01:26:46 +0000 (03:26 +0200)]
Backport 2011-04-04T22:08:01Z!lekktu@gmail.com and 2011-04-04T22:33:12Z!lekktu@gmail.com from trunk.

* help-fns.el (describe-variable): Complete all variables having
  documentation, including keywords.
  http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html

13 years agodoc/emacs/display.texi (Auto Scrolling): Fix last change.
Eli Zaretskii [Sat, 26 Mar 2011 19:03:24 +0000 (21:03 +0200)]
doc/emacs/display.texi (Auto Scrolling): Fix last change.

13 years ago* doc/emacs/display.texi (Auto Scrolling): Fix scroll-up/scroll-down confusion.
Chong Yidong [Sat, 26 Mar 2011 16:20:16 +0000 (12:20 -0400)]
* doc/emacs/display.texi (Auto Scrolling): Fix scroll-up/scroll-down confusion.

13 years agolisp/vc-annotate.el: Fix typo.
Juanma Barranquero [Thu, 24 Mar 2011 01:57:22 +0000 (02:57 +0100)]
lisp/vc-annotate.el: Fix typo.

13 years agoetc/NEWS: libpng 1.14+ is now preferred for MS-Windows. (Bug#8324)
Eli Zaretskii [Wed, 23 Mar 2011 18:14:01 +0000 (20:14 +0200)]
etc/NEWS: libpng 1.14+ is now preferred for MS-Windows.  (Bug#8324)

13 years ago* doc/lispref/minibuf.texi (Basic Completion): Be a bit more precise about the
Stefan Monnier [Mon, 21 Mar 2011 15:30:01 +0000 (11:30 -0400)]
* doc/lispref/minibuf.texi (Basic Completion): Be a bit more precise about the
valid kinds of completion tables.
(Programmed Completion): Remove obsolete text about lambda expressions
not being valid completion tables.

13 years agoClarify relationship between save-excursion and current buffer.
Chong Yidong [Sat, 19 Mar 2011 20:31:30 +0000 (16:31 -0400)]
Clarify relationship between save-excursion and current buffer.
Suggested by Uday S Reddy.

* positions.texi (Excursions): Explain the "save-excursion
defeated by set-buffer" warning.

* buffers.texi (Current Buffer): Copyedits.  Don't recommend using
save-excursion.

13 years ago* process.c (Fformat_network_address): Doc fix.
Christoph Scholtes [Sat, 19 Mar 2011 18:47:17 +0000 (12:47 -0600)]
* process.c (Fformat_network_address): Doc fix.

13 years agoBackport fix for Bug#8219 from trunk.
Chong Yidong [Sat, 19 Mar 2011 16:42:53 +0000 (12:42 -0400)]
Backport fix for Bug#8219 from trunk.

* buffer.h (BUF_BEGV, BUF_BEGV_BYTE, BUF_ZV, BUF_ZV_BYTE, BUF_PT)
(BUF_PT_BYTE): Rewrite to handle indirect buffers (Bug#8219).
These macros can no longer be used for assignment.

* buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Assign
struct members directly, instead of using BUF_BEGV etc.
(record_buffer_markers, fetch_buffer_markers): New functions for
recording and fetching special buffer markers.
(set_buffer_internal_1, set_buffer_temp): Use them.

* lread.c (unreadchar): Use SET_BUF_PT_BOTH.

* insdel.c (adjust_point): Use SET_BUF_PT_BOTH.

* intervals.c (temp_set_point_both): Use SET_BUF_PT_BOTH.
(get_local_map): Use SET_BUF_BEGV_BOTH and SET_BUF_ZV_BOTH.

* xdisp.c (hscroll_window_tree):
(reconsider_clip_changes): Use PT instead of BUF_PT.

13 years agoFix emerge.el on MS-Windows and MS-DOS.
Eli Zaretskii [Sat, 19 Mar 2011 09:30:56 +0000 (11:30 +0200)]
Fix emerge.el on MS-Windows and MS-DOS.

 lisp/emerge.el (emerge-metachars): Separate value for ms-dos and
 windows-nt systems.
 (emerge-protect-metachars): Quote correctly for ms-dos and
 windows-nt systems.

13 years agosrc/xfaces.c (Fx_load_color_file): Read color file from absolute filename.
Juanma Barranquero [Thu, 17 Mar 2011 15:44:02 +0000 (16:44 +0100)]
src/xfaces.c (Fx_load_color_file): Read color file from absolute filename.

Fixes: debbugs:8250

13 years ago* strings.texi (String Conversion): Don't mention string-make-(uni|multi)byte.
Stefan Monnier [Wed, 16 Mar 2011 14:54:21 +0000 (10:54 -0400)]
* strings.texi (String Conversion): Don't mention string-make-(uni|multi)byte.
* nonascii.texi (Converting Representations): Fix up range.
* keymaps.texi (Key Binding Commands): Update code point, avoid
"unibyte character" and remove mention of unibyte bindings.

Fixes: debbugs:8262

13 years agolisp/info.el: Fix bug#8258.
Ralph Schleicher [Wed, 16 Mar 2011 00:00:58 +0000 (01:00 +0100)]
lisp/info.el: Fix bug#8258.

* info (info-initialize): Replace all uses of `:' with path-separator for
  compatibility with non-Unix systems.  Cache quoting of path-separator.

13 years agoBackport 2011-03-06T01:42:13Z!rgm@gnu.org from trunk.
Glenn Morris [Sun, 13 Mar 2011 22:36:47 +0000 (18:36 -0400)]
Backport 2011-03-06T01:42:13Z!rgm@gnu.org from trunk.

* configure.in (FREETYPE_LIBS): Actually set it to something.

* configure.in: Don't zero-out FONTCONFIG_CFLAGS and
FONTCONFIG_LIBS when building with XFT (doing so is incorrect, as
Emacs directly uses fontconfig, and breaks building when using a
strict linker).

13 years agolisp/avoid.el: Fix typos in docstrings.
Juanma Barranquero [Sat, 12 Mar 2011 19:44:42 +0000 (20:44 +0100)]
lisp/avoid.el: Fix typos in docstrings.

13 years ago* net/tramp.el (tramp-progress-reporter-update): Use
Michael Albinus [Sat, 12 Mar 2011 13:26:19 +0000 (14:26 +0100)]
* net/tramp.el (tramp-progress-reporter-update): Use
`tramp-compat-funcall'.
(tramp-handle-start-file-process): Use `tramp-compat-process-get'.
(tramp-handle-insert-file-contents): Make `file-remote-p' call
compatible.
(tramp-open-connection-setup-interactive-shell): Use
`tramp-compat-process-put'.

* net/tramp-compat.el (tramp-compat-process-get)
(tramp-compat-process-put): New defuns.

* net/trampver.el: Update release number.

Please do not merge with the trunk.

13 years agoRemove arch-tag.
Michael Albinus [Sat, 12 Mar 2011 13:17:54 +0000 (14:17 +0100)]
Remove arch-tag.

* trampver.texi: Update release number.

13 years ago* lisp/ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
Stefan Monnier [Sat, 12 Mar 2011 02:49:29 +0000 (21:49 -0500)]
* lisp/ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
into declaration.  Remove redundant and harmful binding.

13 years agoBump version to 23.3.50
Chong Yidong [Fri, 11 Mar 2011 17:17:33 +0000 (12:17 -0500)]
Bump version to 23.3.50

13 years agoBackport 2011-03-08T01:52:20Z!lekktu@gmail.com from trunk.
Juanma Barranquero [Fri, 11 Mar 2011 15:42:12 +0000 (16:42 +0100)]
Backport 2011-03-08T01:52:20Z!lekktu@gmail.com from trunk.

* src/w32xfns.c (select_palette): Check success of RealizePalette against
  GDI_ERROR, not zero.

13 years agoBackport 2011-03-01T03:59:31Z!lekktu@gmail.com from trunk.
Juanma Barranquero [Fri, 11 Mar 2011 15:34:07 +0000 (16:34 +0100)]
Backport 2011-03-01T03:59:31Z!lekktu@gmail.com from trunk.

*lisp/emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.

13 years agoBackport 2011-03-11T00:33:57Z!lekktu@gmail.com from trunk.
Juanma Barranquero [Fri, 11 Mar 2011 14:05:31 +0000 (15:05 +0100)]
Backport 2011-03-11T00:33:57Z!lekktu@gmail.com from trunk.

* lisp/help-fns.el (describe-variable): Don't complete keywords.

13 years agoFix comparisons of file ownership on MS-Windows for the Administrator user.
Eli Zaretskii [Fri, 11 Mar 2011 12:19:08 +0000 (14:19 +0200)]
Fix comparisons of file ownership on MS-Windows for the Administrator user.

 lisp/files.el (file-ownership-preserved-p): Pass `integer' as an
 explicit 2nd argument to `file-attributes'.  If the file's owner
 is the Administrators group on Windows, and the current user is
 Administrator, consider that a match.
 lisp/server.el (server-ensure-safe-dir): Consider server directory
 safe on MS-Windows if its owner is the Administrators group while
 the current Emacs user is Administrator.  Use `=' to compare
 numerical UIDs, since they could be integers or floats.

13 years agoFix bug #8221 with description of how HOME is set on Windows.
Eli Zaretskii [Fri, 11 Mar 2011 11:17:24 +0000 (13:17 +0200)]
Fix bug #8221 with description of how HOME is set on Windows.

 doc/emacs/msdog.texi (Windows HOME): Fix the wording to clarify how
 Emacs sets HOME on Windows and where it looks for init files.

13 years ago* src/fringe.c (update_window_fringes): Remove unused variables.
YAMAMOTO Mitsuharu [Fri, 11 Mar 2011 03:56:20 +0000 (12:56 +0900)]
* src/fringe.c (update_window_fringes): Remove unused variables.

13 years ago* src/unexmacosx.c (copy_data_segment): Also copy __got section. (Bug#8223)
YAMAMOTO Mitsuharu [Fri, 11 Mar 2011 01:43:49 +0000 (10:43 +0900)]
* src/unexmacosx.c (copy_data_segment): Also copy __got section. (Bug#8223)

13 years agoFix 2011-01-31 change; patch supplied by acm was applied incorrectly.
Chong Yidong [Mon, 7 Mar 2011 20:05:53 +0000 (15:05 -0500)]
Fix 2011-01-31 change; patch supplied by acm was applied incorrectly.

* lisp/progmodes/cc-cmds.el (c-beginning-of-statement): Fix 2011-01-31
change; patch supplied by Alan Mackenzie was applied incorrectly.

13 years agoRevert 2010-05-25T15:54:53Z!juri@jurta.org; regenerate release logs.
Chong Yidong [Mon, 7 Mar 2011 05:20:23 +0000 (00:20 -0500)]
Revert 2010-05-25T15:54:53Z!juri@jurta.org; regenerate release logs.

* lisp/progmodes/cc-cmds.el (c-beginning-of-statement): Revert
2011-01-31 change.

13 years agoRelease logs for 23.3 release.
Chong Yidong [Tue, 1 Mar 2011 03:29:00 +0000 (22:29 -0500)]
Release logs for 23.3 release.
Regenerate configure and other release files.

13 years agoFix bug #8122 with decoding keyboard input.
Eli Zaretskii [Sat, 26 Feb 2011 21:30:16 +0000 (23:30 +0200)]
Fix bug #8122 with decoding keyboard input.

 lisp/international/mule-cmds.el (set-default-coding-systems): Use
 the -unix variant of encoding in default-keyboard-coding-system.

13 years agolisp/ChangeLog: Fix typos.
Juanma Barranquero [Sat, 26 Feb 2011 00:18:16 +0000 (01:18 +0100)]
lisp/ChangeLog: Fix typos.

13 years agoFix bug #8096 with "regexp search" indexing.
Eli Zaretskii [Fri, 25 Feb 2011 11:30:47 +0000 (13:30 +0200)]
Fix bug #8096 with "regexp search" indexing.

 search.texi (Regexp Search): Move index entries about regexps to the
 "Regexps" node.  Add index entries for regexp search.

13 years agoDoc fix for bug#3577.
Glenn Morris [Fri, 25 Feb 2011 07:59:40 +0000 (23:59 -0800)]
Doc fix for bug#3577.

* doc/lispref/variables.texi (Directory Local Variables):
Mention the optional mtime argument of dir-locals-set-directory-class.

13 years agoFix typos.
Juanma Barranquero [Wed, 23 Feb 2011 19:56:30 +0000 (20:56 +0100)]
Fix typos.

13 years agolisp/org/org-table.el: Fix typos in docstrings.
Juanma Barranquero [Wed, 23 Feb 2011 11:25:29 +0000 (12:25 +0100)]
lisp/org/org-table.el: Fix typos in docstrings.

13 years agoFix typo "comand".
Glenn Morris [Wed, 23 Feb 2011 07:15:55 +0000 (23:15 -0800)]
Fix typo "comand".

13 years agoFix spelling of "precede".
Glenn Morris [Wed, 23 Feb 2011 07:08:12 +0000 (23:08 -0800)]
Fix spelling of "precede".

13 years ago* doc/misc/dbus.texi (Type Conversion): Grammar fix.
Glenn Morris [Wed, 23 Feb 2011 07:03:27 +0000 (23:03 -0800)]
* doc/misc/dbus.texi (Type Conversion): Grammar fix.

13 years agoFix spelling of "supersede".
Glenn Morris [Wed, 23 Feb 2011 05:10:10 +0000 (21:10 -0800)]
Fix spelling of "supersede".

13 years agoComment spelling fix.
Glenn Morris [Wed, 23 Feb 2011 04:26:42 +0000 (20:26 -0800)]
Comment spelling fix.

13 years agoRemove bogus duplicate ChangeLog entry from 2010-06-01T13:47:14Z!lekktu@gmail.com.
Glenn Morris [Wed, 23 Feb 2011 04:21:48 +0000 (20:21 -0800)]
Remove bogus duplicate ChangeLog entry from 2010-06-01T13:47:14Z!lekktu@gmail.com.
No need to merge this to trunk.

13 years ago* doc/misc/dired-x.texi (Features, Local Variables): Fix typos.
Glenn Morris [Wed, 23 Feb 2011 03:32:42 +0000 (19:32 -0800)]
* doc/misc/dired-x.texi (Features, Local Variables): Fix typos.
(Features): Minor rephrasing.

13 years agomail/rmailmm.el (rmail-mime-process-multipart): Do not signal an error when a multipa...
Kenichi Handa [Wed, 23 Feb 2011 02:32:35 +0000 (11:32 +0900)]
mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an error when a multipart boundary in the nested multipart is found.

13 years agomerge emacs-23
Kenichi Handa [Wed, 23 Feb 2011 01:56:49 +0000 (10:56 +0900)]
merge emacs-23

13 years agoFix font size handling.
Kenichi Handa [Tue, 22 Feb 2011 01:58:03 +0000 (10:58 +0900)]
Fix font size handling.

13 years agomerge emacs-23
Kenichi Handa [Tue, 22 Feb 2011 01:51:16 +0000 (10:51 +0900)]
merge emacs-23