1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-30 09:00:31 -08:00
Commit graph

30269 commits

Author SHA1 Message Date
Paul Eggert
367c19e58b * xdisp.c (produce_glyphless_glyph): Initialize lower_xoff.
Add a FIXME comment, since the code still doesn't look right.
2011-03-06 11:43:58 -08:00
Paul Eggert
7831777b8a current_column: Now returns EMACS_INT, fixing some iftc.
* bytecode.c (Fbyte_code): Don't cast current_column () to int.
* cmds.c (internal_self_insert): Likewise.
* indent.c (Fcurrent_column): Likewise.
* keymap.c (describe_command): Likewise.
* minibuf.c (read_minibuf): Likewise.
* indent.c (Fcurrent_indentation): Don't cast position_indentation ()
to int.
* xdisp.c (redisplay_internal, redisplay_window, decode_mode_spec):
Likewise.
* cmds.c (internal_self_insert): Declare locals to be EMACS_INT,
not int or double, if they might contain a column number.
* indent.c (current_column, Findent_to, indented_beyond_p):
(compute_motion, vmotion): Likewise.
* keymap.c (describe_command): Likewise.
* xdisp.c (pint2str): Likewise.
* indent.c (last_known_column): Now EMACS_INT, not int.
* minibuf.c (minibuf_prompt_width): Likewise.
* indent.c (current_column, current_column_1, position_indentation):
Return EMACS_INT, not double.
* lisp.h (current_column): Likewise.
* indent.c (indented_beyond_p): Last arg is now EMACS_INT, not double.
All callers changed.
* lisp.h (indented_beyond_p): Likewise.
2011-03-06 02:27:06 -08:00
Paul Eggert
179b8720a2 * xdisp.c (redisplay_window): Likewise. 2011-03-06 01:54:06 -08:00
Paul Eggert
e9588e2e96 * minibuf.c (minibuf_prompt, minibuf_prompt_width): Move here
from xdisp.c, and make static, since these are used only here.
* window.h, xdisp.c (minibuf_prompt, minibuf_prompt_width):
Remove decls.
2011-03-06 01:52:06 -08:00
Paul Eggert
1e12733b25 * cmds.c (internal_self_insert): Reindent to match Emacs style. 2011-03-06 01:00:53 -08:00
Paul Eggert
acbfe54c07 * xdisp.c (SKIP_GLYPHS): Removed unused macro. 2011-03-06 00:17:04 -08:00
Paul Eggert
d8a3e89e23 * xdisp.c (update_window_cursor): Now static, since it's not used elsewhere. 2011-03-06 00:15:49 -08:00
Paul Eggert
841081e175 * xdisp.c (produce_glyphless_glyph): Make a pointer "const"
since it might point to immutable storage.
2011-03-06 00:14:14 -08:00
Paul Eggert
7b781e9f4f * xdisp.c (BUILD_GLYPHLESS_GLYPH_STRING): Omit unused local var. 2011-03-06 00:11:52 -08:00
Paul Eggert
58635e4de8 Merge from mainline. 2011-03-05 23:53:03 -08:00
Paul Eggert
5489860be1 * xdisp.c: Rename or move local decls to avoid shadowing.
(init_iterator, handle_fontified_prop, handle_single_display_spec):
(message_dolog, message_with_string, redisplay_internal):
(redisplay_window, try_window_reusing_current_matrix, try_window_id):
(compute_line_metrics, highlight_trailing_whitespace, cursor_row_p):
(display_line, display_string, rows_from_pos_range):
(mouse_face_from_buffer_pos, note_mouse_highlight, expose_frame):
Rename or move local decls.
2011-03-05 23:50:01 -08:00
Juanma Barranquero
01c3509454 Fix typos.
* etc/srecode/el.srt: Fix typo.

* lisp/allout.el (allout-init, allout-prefixed-keybindings)
  (allout-unprefixed-keybindings):
* lisp/progmodes/prolog.el (prolog-find-term):
  Fix typos in docstrings.

* lisp/org/org.el (org-blank-before-new-entry, org-context-in-file-links)
  (org-refile-targets, org-log-repeat, org-insert-link)
  (org-speed-command-default-hook, org-speed-command-hook)
  (org-in-regexps-block-p, org-yank-generic, org-goto-first-child):
  Fix typos in docstrings.
  (org-toggle-pretty-entities): Fix typo in message.
2011-03-06 03:43:19 +01:00
Michael Shields
aa248733c5 Doc fixes for bug#5567 (tiny change)
* lisp/window.el (one-window-p, walk-windows, display-buffer): Doc fixes.
* src/window.c (Fnext_window): Doc (and comment) fixes.
2011-03-05 18:14:43 -08:00
Glenn Morris
7834125ea3 Regenerate autotools stuff, grumble. 2011-03-05 17:45:56 -08:00
Chong Yidong
e6786c7319 Fix last change. 2011-03-05 18:55:43 -05:00
Chong Yidong
04cb68403d * nsterm.m (ns_draw_window_cursor): Fix typo in 2011-02-23 commit. 2011-03-05 18:52:45 -05:00
Glenn Morris
22c28cb827 ChangeLog fix. 2011-03-05 12:09:37 -08:00
Glenn Morris
b612ffc94d Reduce some of the many, many variant spellings of NeXTstep.
http://lists.gnu.org/archive/html/emacs-devel/2010-10/msg00986.html
2011-03-03 00:03:01 -08:00
Ken Brown
5aef9e9a95 * sheap.c (STATIC_HEAP_SIZE): Increase to 13MB. 2011-03-02 16:30:51 -05:00
Paul Eggert
6c0dea8a89 Merge: Work around some portability problems with symlinks. 2011-03-01 21:25:09 -08:00
Paul Eggert
ba46f4d85a Merge from mainline. 2011-03-01 17:52:03 -08:00
Glenn Morris
2b0c733045 Merge from emacs-23; up to 2010-06-03T05:41:49Z!rgm@gnu.org. 2011-02-27 17:07:29 -08:00
Chong Yidong
52eb77a6ad Avoid recording dead buffers in buffer-list frame param (Bug#7898).
* src/frame.c (store_frame_param): Don't store value directly in
buffer_list and buried_buffer_list; copy the list and remove dead
buffers.
2011-02-27 17:57:22 -05:00
Eli Zaretskii
4824410fa8 Implement stub emulation of `readlink' for MS-DOS.
src/msdos.c (readlink) [DJGPP < 2.04]: New stub function.
 src/msdos.h: (readlink) [DJGPP < 2.04]: Declare prototype.
2011-02-27 21:51:35 +02:00
Eli Zaretskii
0f7bb05d28 Implement stubs of readlink' and symlink' for MS-Windows.
src/w32.c (symlink, readlink): New stub functions.
 nt/inc/unistd.h (readlink, symlink): Declare prototypes.
2011-02-27 21:48:31 +02:00
Eli Zaretskii
40be44e2a9 Emulate `readlink' for DJGPP versions before 2.04.
src/msdos.c (readlink) [DJGPP < 2.04]: New stub function.
 src/msdos.h: (readlink) [DJGPP < 2.04]: Declare prototype.
2011-02-27 21:46:39 +02:00
Paul Eggert
c783d15b93 * scroll.c (CHECK_BOUNDS): #define only if GLYPH_DEBUG.
This avoids a gcc warning in some configurations.
2011-02-26 23:50:33 -08:00
Paul Eggert
76c1cebcc9 * frame.c (x_set_screen_gamma): Rename local to avoid shadowing. 2011-02-26 23:47:34 -08:00
Paul Eggert
0ff162fccf * frame.h: Avoid gcc -Wmissing-prototypes diagnostics.
(set_menu_bar_lines, x_get_resource_string): New decls.
* msdos.c (set_menu_bar_lines): Omit decl.
2011-02-26 23:30:02 -08:00
Paul Eggert
fdb0b28bf6 * dispextern.h (struct glyph): Make u.img_id int, not unsigned.
It's always given int values and used as an int.  This suppresses
a gcc "comparison of unsigned expression >= 0" warning in some
configurations.
2011-02-26 18:41:48 -08:00
Paul Eggert
27786b2f70 * dispnew.c: Rename locals to avoid shadowing.
(update_text_area, scrolling_window, update_frame_1): Rename locals.
2011-02-26 16:48:14 -08:00
Paul Eggert
d2d37ddc91 * dispnew.c: Fix problem uncovered by gcc -Wunused-variable.
(adjust_frame_glyphs_for_window_redisplay): Make 'w' local to the
contexts that actually need it.
2011-02-26 15:05:14 -08:00
Paul Eggert
09ad5a9148 * dispnew.c: Fix problems uncovered by gcc -Wstrict-prototypes.
(copy_glyph_row_contents): Remove; not used.
(frame_row_to_window, check_current_matrix_flags):
(window_change_signal): Now static, since they're not used elsewhere.
(check_current_matrix_flags): Surround with "#if 0", since its
only use is in a comment.  Maybe both the comment and the "#if 0"
stuff should be removed?
2011-02-26 14:54:33 -08:00
Eli Zaretskii
003fa8b6f4 Fix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet.
src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
 (lstat): Define for DJGPP < 2.04.
 msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
 (BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T)
 (BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS)
 (GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT)
 (GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT)
 (GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT)
 (HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD)
 (HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO)
 (HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT)
 (HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T)
 (HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H)
 (HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H)
 (HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H)
 (MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H)
 (NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H)
 (NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR)
 (REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT)
 (REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H)
 (WCHAR_T_SUFFIX, WINT_T_SUFFIX): New edits.
 ($(MKDIR_P)): Replace with equivalent DOS command.
 msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
 (BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T)
 (HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T)
 (HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New
 edits.
2011-02-26 14:55:10 +02:00
Paul Eggert
d9d0d182da * fileio.c (Fmake_symbolic_link): Treat ENOSYS specially, and
generate a special message for it.  Suggested by Eli Zaretskii in
<http://lists.gnu.org/archive/html/emacs-devel/2011-02/msg00995.html>.
2011-02-25 13:20:06 -08:00
Paul Eggert
36f13e1667 Simplify symlink portability workaround. 2011-02-25 12:05:36 -08:00
Paul Eggert
4ad8955513 * src/dired.c: Add comment and code explaining magic number. 2011-02-25 11:08:18 -08:00
Paul Eggert
a07b892ff1 Merge from mainline. 2011-02-24 22:42:06 -08:00
Paul Eggert
b18947669c * dired.c (Ffile_attributes): Increase size of modes from 10 to 12 2011-02-24 22:30:50 -08:00
Ben Key
2c6584e817 Fix handling of bar cursors in NS terminal.
* nsterm.m (ns_draw_window_cursor): Obey the cursor_width argument
directly, for bar cursors.

* xdisp.c (set_frame_cursor_types): Don't write an undefined value
into the frame's cursor_width.
2011-02-23 15:41:43 -05:00
Juanma Barranquero
8307f92370 Fix typos. 2011-02-23 20:56:30 +01:00
Stefan Monnier
617a0e834a * src/print.c (print_object): Never print old-style backquotes.
Obey escapeflag for hash tables as well.
2011-02-23 10:14:21 -05:00
Glenn Morris
0d327994db Fix some mis-spellings of "precede" that are not in emacs-23 branch. 2011-02-22 23:27:09 -08:00
Glenn Morris
6e81c8191f Fix typo "comand". 2011-02-22 23:15:55 -08:00
Glenn Morris
97610156f4 Fix spelling of "precede". 2011-02-22 23:08:12 -08:00
Glenn Morris
0105dc3e03 Fix spelling of "supersede". 2011-02-22 21:10:10 -08:00
Glenn Morris
e8b5c6a20c Comment spelling fix. 2011-02-22 20:26:42 -08:00
Glenn Morris
6230011fdd Remove bogus duplicate ChangeLog entry from 2010-06-01T13:47:14Z!lekktu@gmail.com.
No need to merge this to trunk.
2011-02-22 20:21:48 -08:00
Glenn Morris
cce7d53002 Merge from emacs-23; up to 2010-06-02T00:10:42Z!yamaoka@jpl.org. 2011-02-22 20:19:28 -08:00
Kenichi Handa
9c02aefc95 merge emacs-23 2011-02-23 10:56:49 +09:00