1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-29 07:58:28 +00:00
Commit Graph

94754 Commits

Author SHA1 Message Date
Chong Yidong
a1d3a912e7 * lisp/progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653). 2011-06-27 17:38:14 -04:00
Chong Yidong
88d3fb1146 Merge fix for Bug#8870 from trunk 2011-06-27 17:16:28 -04:00
Chong Yidong
208530377b * frame.el (special-display-popup-frame): Doc fix (Bug#8853). 2011-06-19 15:05:15 -04:00
Chong Yidong
6a8230feb3 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833). 2011-06-19 14:42:23 -04:00
Chong Yidong
c9e799dbb1 Merge fix for Bug#8879 from trunk 2011-06-18 15:23:43 -04:00
YAMAMOTO Mitsuharu
989b42d2c7 * dispnew.c (scrolling_window): Before scrolling, turn off a mouse-highlight in the window being scrolled. 2011-06-18 09:37:38 +09:00
Glenn Morris
4fd75609cb Fix ChangeLog entry (no need to merge to trunk) 2011-06-16 23:54:08 -07:00
Paul Eggert
d65e8a993f Merge: nsmenu.m: Replace all uses of XVECTOR with ASIZE and AREF. 2011-06-16 11:31:16 -04:00
Chong Yidong
dfc47e3511 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.
2011-06-14 11:13:26 -04:00
Eli Zaretskii
638e9005f1 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.
2011-06-09 12:40:51 +03:00
Juanma Barranquero
499719b776 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.
2011-06-05 02:32:23 +02:00
Reuben Thomas
b1adde906f * flymake.el (flymake-compilation-prevents-syntax-check): Doc fix (Bug#8713). 2011-06-04 19:06:53 -04:00
Chong Yidong
a800408659 * lisp/repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696). 2011-06-04 19:00:29 -04:00
Juanma Barranquero
d30550b193 lisp/loadhist.el (unload-feature-special-hooks): Add comint-output-filter-functions. 2011-06-04 23:30:14 +02:00
Dan Nicolaescu
8b3115e702 * src/emacs.c (main): Warn when starting a GTK emacs in daemon mode. 2011-06-02 09:56:04 -07:00
YAMAMOTO Mitsuharu
14eca62f5c * fringe.c (update_window_fringes): Don't update overlay arrow bitmap in the current matrix if keep_current_p is non-zero. 2011-06-01 10:36:38 +09:00
Chong Yidong
049bcbcba6 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.
2011-05-29 13:18:46 -04:00
Kenichi Handa
c92a1e54c4 mail/sendmail.el (mail-encode-header): Avoid double encoding by let-binding rfc2047-encode-encoded-words to nil. 2011-05-27 13:54:39 +09:00
YAMAMOTO Mitsuharu
e61124cd85 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.
2011-05-25 12:06:05 +09:00
Kenichi Handa
964b0e76b0 merge emacs-23 2011-05-25 11:45:30 +09:00
Kenichi Handa
f16d983703 xdisp.c (get_next_display_element): Set correct it->face_id for a static composition. 2011-05-25 10:26:35 +09:00
Kenichi Handa
b8d747b9bd RFC2047-encode header of outgoing mails. 2011-05-23 13:44:29 +09:00
Chong Yidong
02bd545076 Mark last change as tiny. 2011-05-22 14:47:51 -04:00
Sean Neakums
7261f6cee1 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.
2011-05-22 14:46:49 -04:00
YAMAMOTO Mitsuharu
4d8ade8957 * dispnew.c (scrolling_window): Don't exclude the case that the
last enabled row in the desired matrix touches the bottom boundary.
2011-05-21 10:56:45 +09:00
Andreas Schwab
165fd2df8c Fix last change 2011-05-16 14:29:35 +02:00
Chong Yidong
7affc35312 Backport fix for Bug#8672 from trunk 2011-05-15 10:22:31 -04:00
Chong Yidong
ae742cb584 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.
2011-05-15 10:21:31 -04:00
Chong Yidong
2d11b7b37c Backport fix for Bug#8672 from trunk 2011-05-15 10:12:51 -04:00
Juanma Barranquero
ce1539b46d lisp/progmodes/python.el: Highlight keyword "nonlocal" (bug#8639). 2011-05-13 14:44:48 +02:00
Drew Adams
e531bdfff1 src/textprop.c (Fprevious_single_char_property_change): Doc fix (bug#8655). 2011-05-11 18:38:18 +02:00
YAMAMOTO Mitsuharu
7db47798f8 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.
2011-05-11 12:13:58 +09:00
Eli Zaretskii
3ee240faef Typo fix in doc/lispref/files.texi. 2011-05-09 23:38:50 +03:00
Eli Zaretskii
0e39ec2188 Minor portability fix in smerge-mode.el.
lisp/smerge-mode.el (smerge-resolve): Use null-device rather than a
 literal "/dev/null".
2011-05-09 18:21:54 +03:00
Stefan Monnier
3f254caa51 * lisp/emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
Fix typo.
2011-05-09 12:17:05 -03:00
Andreas Schwab
25fb3d747b * xmenu.c (set_frame_menubar): Fix submenu loops. 2011-05-09 13:13:02 +02:00
Eli Zaretskii
14fe7b530d 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.
2011-05-09 05:59:23 -04:00
Ralph Schleicher
6eea50c73b 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.
2011-05-08 14:29:35 -04:00
Stefan Monnier
bc3bea9cf0 * 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.
2011-05-06 11:32:26 -03:00
Drew Adams
e6dc6206e9 doc/lispref/modes.texi (Region to Fontify): Fix typo. 2011-05-06 01:04:47 +02:00
Eli Zaretskii
9bb095f46e etc/NEWS: Separate post-23.3 entries. 2011-04-29 17:27:57 +03:00
Eli Zaretskii
fab624aa3a 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.
2011-04-29 17:23:44 +03:00
Eli Zaretskii
b1c07b7b76 Fix bug #8563 with TeX input method.
leim/quail/latin-ltx.el <\beth, \gimel, \daleth>: Produce
 corresponding symbols rather than Hebrew letters.
2011-04-28 20:20:43 +03:00
Eli Zaretskii
6b4e1d0d3d Fix bug #8563 with \aleph in TeX input method.
leim/quail/latin-ltx.el <\aleph>: Produce ALEF SYMBOL instead of
 HEBREW LETTER ALEF.
2011-04-27 23:34:56 +03:00
Chong Yidong
45cb8994a3 * src/nsfns.m (Fns_read_file_name): Doc fix (Bug#8534). 2011-04-26 14:31:04 -04:00
Michael Albinus
46155cd37f * 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.
2011-04-25 19:58:27 +02:00
Daniel Colascione
320f861c69 Use correct match group (bug#8438). 2011-04-24 17:20:47 -07:00
Juanma Barranquero
be71f8100a lisp/buff-menu.el (Buffer-menu--buffers): Fix typo in docstring.
Fixes: debbugs:8535
2011-04-22 20:49:58 +02:00
Juanma Barranquero
c6c3212525 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.
2011-04-21 14:06:01 +02:00
Juanma Barranquero
58d468b44d lisp/play/doctor.el: Fix typos in docstrings. 2011-04-21 04:45:31 +02:00