1. 07 Nov, 2010 5 commits
    • Glenn Morris's avatar
      Minor checkdoc simplifications. · 76fc02b6
      Glenn Morris authored
      * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
      Use end-of-line N.
      (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
      Use line-end-position.
      76fc02b6
    • Glenn Morris's avatar
      Replace end-of-line, save-excursion etc with point-at-eol, point-at-bol. · e180ab9f
      Glenn Morris authored
      * lisp/mh-e/mh-seq.el (mh-read-msg-list): Use point-at-eol.
      
      * lisp/gnus/gnus-bookmark.el (gnus-bookmark-bmenu-show-infos)
      (gnus-bookmark-kill-line): Use point-at-eol.
      
      * lisp/cedet/ede/proj-elisp.el (ede-proj-flush-autoconf): Use point-at-bol.
      
      * lisp/emacs-lisp/chart.el (chart-zap-chars):
      * lisp/play/decipher.el (decipher-set-map):
      * lisp/progmodes/ada-mode.el (ada-get-current-indent)
      (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
      * lisp/progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
      * lisp/progmodes/ada-xref.el (ada-initialize-runtime-library)
      (ada-get-all-references):
      * lisp/progmodes/cperl-mode.el (cperl-electric-paren)
      (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
      (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
      (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
      (cperl-word-at-point-hard):
      * lisp/progmodes/idlw-shell.el (idlwave-shell-move-or-history)
      (idlwave-shell-filename-string, idlwave-shell-batch-command)
      (idlwave-shell-display-line):
      * lisp/progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
      (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
      * lisp/progmodes/js.el (js--re-search-forward-inner)
      (js--re-search-backward-inner):
      * lisp/progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
      (vhdl-fix-clause, vhdl-compose-configuration-architecture):
      * lisp/progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
      * lisp/textmodes/flyspell.el (flyspell-process-localwords):
      * lisp/textmodes/ispell.el (ispell-buffer-local-parsing)
      (ispell-buffer-local-dict, ispell-buffer-local-words):
      Use point-at-bol and point-at-eol.
      e180ab9f
    • Katsumi Yamaoka's avatar
    • Glenn Morris's avatar
      Replace more speedbar uses of end-of-line etc with line-end-position. · 26f097bf
      Glenn Morris authored
      * lisp/speedbar.el (speedbar-generic-item-info)
      (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
      (speedbar-add-indicator, speedbar-check-vc-this-line)
      (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
      (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
      Replace more uses of end-of-line etc with line-end-position.
      26f097bf
    • Gnus developers's avatar
      gnus-int.el, nnimap.el, nnir.el: More improvements to thread-referral. · 4ddab346
      Gnus developers authored
      message.el (message-send-mail): Don't insert courtesy messages if the message already has List-Post and List-ID messages.
      gnus-ems.el (gnus-put-image): Use a blank text as the insertion string to avoid making the From headers syntactically invalid.
      4ddab346
  2. 06 Nov, 2010 17 commits
    • Glenn Morris's avatar
      Use line-end-position rather than end-of-line, etc. · 5ed619e0
      Glenn Morris authored
      * textmodes/texnfo-upd.el (texinfo-start-menu-description)
      (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
      (texinfo-delete-existing-pointers, texinfo-find-pointer)
      (texinfo-clean-up-node-line, texinfo-insert-node-lines)
      (texinfo-multiple-files-update):
      * textmodes/table.el (table--probe-cell-left-up)
      (table--probe-cell-right-bottom):
      * textmodes/picture.el (picture-tab-search):
      * textmodes/page-ext.el (pages-copy-header-and-position)
      (pages-directory-for-addresses):
      * progmodes/vera-mode.el (vera-get-offset):
      * progmodes/simula.el (simula-calculate-indent):
      * progmodes/python.el (python-pdbtrack-overlay-arrow):
      * progmodes/prolog.el (end-of-prolog-clause):
      * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
      * progmodes/icon.el (indent-icon-exp):
      * progmodes/etags.el (tag-re-match-p):
      * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
      * progmodes/ebnf2ps.el (ebnf-begin-file):
      * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
      (dcl-save-local-variable):
      * play/life.el (life-setup):
      * play/gametree.el (gametree-looking-at-ply):
      * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
      * mail/sendmail.el (mail-mode-auto-fill):
      * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
      * emacs-lisp/edebug.el (edebug-overlay-arrow):
      * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
      * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
      (woman-tab-to-tab-stop, WoMan-warn-ignored):
      * type-break.el (type-break-file-keystroke-count):
      * term.el (term-replace-by-expanded-history-before-point)
      (term-skip-prompt, term-extract-string):
      * speedbar.el (speedbar-edit-line, speedbar-expand-line)
      (speedbar-contract-line, speedbar-toggle-line-expansion)
      (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
      (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
      * sort.el (sort-skip-fields):
      * skeleton.el (skeleton-internal-list):
      * simple.el (line-move-finish, line-move-to-column):
      * shell.el (shell-forward-command):
      * misc.el (copy-from-above-command):
      * makesum.el (double-column):
      * ebuff-menu.el (electric-buffer-update-highlight):
      * dired.el (dired-move-to-end-of-filename):
      * dframe.el (dframe-popup-kludge):
      * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
      * arc-mode.el (archive-get-lineno):
      Use line-end-position and line-beginning-position.
      
      * net/ange-ftp.el, progmodes/hideif.el, reposition.el:
      Same, but only in comments.
      5ed619e0
    • Glenn Morris's avatar
      Minor idlwave change. · e2a9c0bc
      Glenn Morris authored
      * lisp/progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
      (idlwave-study-twins): Prefix dynamic local `class'.
      (idlwave-routine-twin-compare): Update for above name change.
      e2a9c0bc
    • Glenn Morris's avatar
      Minor eieio-comp changes. · 4e44448f
      Glenn Morris authored
      * lisp/emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
      Use boundp tests to silence compiler.  Update for changed name of
      bytecomp-filename variable.
      4e44448f
    • Glenn Morris's avatar
      Silence viper-cmd compilation. · 8f6c3eac
      Glenn Morris authored
      * lisp/emulation/viper-cmd.el (viper-read-string-with-history):
      Prefix dynamic local `initial'.
      (viper-minibuffer-standard-hook): Update for above name change.
      8f6c3eac
    • Glenn Morris's avatar
      Silence elint compilation. · 79d1dabe
      Glenn Morris authored
      * lisp/emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
      (elint-init-form): Update for above name change.
      79d1dabe
    • Glenn Morris's avatar
      Silence gnus-art compilation. · c497474b
      Glenn Morris authored
      * lisp/gnus/gnus-art.el (gnus-treat-article): Give dynamic local variables
      `condition', `type', `length' a prefix.
      (gnus-treat-predicate): Update for above name changes.
      c497474b
    • Glenn Morris's avatar
      Silence mail-extr compilation. · 0e4bb7f0
      Glenn Morris authored
      * lisp/mail/mail-extr.el (mail-extract-address-components): Give dynamic
      local variables `cbeg' and `cend' a prefix.
      (mail-extr-voodoo): Update for above name change.
      0e4bb7f0
    • Glenn Morris's avatar
      Silence reftex compilation. · c8f3bf36
      Glenn Morris authored
      * lisp/textmodes/reftex-toc.el (reftex-toc-do-promote)
      (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
      (reftex-toc-promote-action): Doc fix.
      
      * lisp/textmodes/reftex-sel.el (reftex-select-item): Give local variables
      `prompt', `data' a prefix.
      (reftex-select-post-command-hook, reftex-select-callback)
      (reftex-select-mouse-accept, reftex-select-read-cite):
      Update for above name changes.
      
      * lisp/textmodes/reftex-ref.el (reftex-reference): Rename local variable
      `refstyle' to reftex-refstyle.
      (reftex-offer-label-menu): Update for above name change.
      * lisp/textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
      `refstyle' name change.
      c8f3bf36
    • Glenn Morris's avatar
      Minor emerge changes. · b05fde66
      Glenn Morris authored
      * lisp/vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
      with with-current-buffer.
      (diff, template): Give dynamic local variables a prefix.
      (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
      (emerge-line-number-in-buf): Update for above name change.
      (emerge-combine-versions-internal): Rename local `template' to
      emerge-combine-template.
      (emerge-combine-versions-edit): Update for above name change.
      b05fde66
    • Eli Zaretskii's avatar
    • Ralf Angeli's avatar
      RefTeX: Improve matching of bib entries. · 5d8f9169
      Ralf Angeli authored
      5d8f9169
    • Eli Zaretskii's avatar
    • Eli Zaretskii's avatar
      Support R2L lines in tool-tip text. · a971c0a7
      Eli Zaretskii authored
       xfns.c (Fx_show_tip): If any of the tool-tip text lines is R2L,
       adjust width of tool-tip frame to the width of text, excluding the
       stretch glyph at the beginning of R2L glyph rows.
       w32fns.c (Fx_show_tip): Likewise.
      a971c0a7
    • Michael Albinus's avatar
    • Andreas Schwab's avatar
      configure.in: Fix indentation · 4abfb753
      Andreas Schwab authored
      4abfb753
    • Jan Djärv's avatar
      80417b95
    • Eli Zaretskii's avatar
      Unify mouse-highlight code for all GUI and TTY sessions. · c1fc2d3a
      Eli Zaretskii authored
       term.c: Remove static mouse_face_* variables.  All users
       changed.
       (term_show_mouse_face, term_clear_mouse_face)
       (fast_find_position, term_mouse_highlight): Functions deleted.
       (tty_draw_row_with_mouse_face): New function.
       (term_mouse_movement): Call note_mouse_highlight instead of
       term_mouse_highlight.
       nsterm.m (ns_update_window_begin, ns_update_window_end)
       (ns_update_end, x_destroy_window, ns_frame_up_to_date)
       (ns_dumpglyphs_box_or_relief, ns_maybe_dumpglyphs_background)
       (ns_dumpglyphs_image, ns_dumpglyphs_stretch)
       (ns_initialize_display_info, keyDown, mouseMoved, mouseExited):
       Replace Display_Info with Mouse_HLInfo everywhere where
       mouse_face_* members were accessed for mouse highlight purposes.
       xterm.c (x_update_window_begin, x_update_window_end)
       (x_update_end, XTframe_up_to_date, x_set_mouse_face_gc)
       (handle_one_xevent, x_free_frame_resources, x_term_init): Replace
       Display_Info with Mouse_HLInfo everywhere where mouse_face_*
       members were accessed for mouse highlight purposes.
       w32term.c (x_update_window_begin, x_update_window_end)
       (x_update_end, w32_read_socket, x_free_frame_resources)
       (w32_initialize_display_info): Replace Display_Info with
       Mouse_HLInfo everywhere where mouse_face_* members were accessed
       for mouse highlight purposes.
       xdisp.c (show_mouse_face, note_mode_line_or_margin_highlight)
       (note_mouse_highlight) [HAVE_WINDOW_SYSTEM]: Don't run GUI code
       unless the frame is on a window-system.
       (get_tool_bar_item, handle_tool_bar_click)
       (note_tool_bar_highlight, draw_glyphs, erase_phys_cursor)
       (show_mouse_face, clear_mouse_face, coords_in_mouse_face_p)
       (note_mode_line_or_margin_highlight, note_mouse_highlight)
       (x_clear_window_mouse_face, cancel_mouse_face, expose_frame):
       Replace Display_Info with Mouse_HLInfo everywhere where
       mouse_face_* members were accessed for mouse highlight purposes.
       (coords_in_mouse_face_p): Move prototype out of the
       HAVE_WINDOW_SYSTEM conditional.
       (x_y_to_hpos_vpos, frame_to_window_pixel_xy): Move out of the
       HAVE_WINDOW_SYSTEM block.
       (try_window_id) [HAVE_GPM || MSDOS]: Call
       x_clear_window_mouse_face.
       (draw_row_with_mouse_face): Implementation for HAVE_WINDOW_SYSTEM
       systems.  Call tty_draw_row_with_mouse_face for TTY systems.
       (show_mouse_face): Call draw_row_with_mouse_face, instead of
       calling draw_glyphs directly.
       (show_mouse_face, clear_mouse_face, coords_in_mouse_face_p)
       (cursor_in_mouse_face_p, rows_from_pos_range)
       (mouse_face_from_buffer_pos, mouse_face_from_string_pos)
       (note_mode_line_or_margin_highlight, note_mouse_highlight)
       (x_clear_window_mouse_face, cancel_mouse_face): Move out of the
       HAVE_WINDOW_SYSTEM block.  Ifdef away window-system specific
       fragments.
       (note_mouse_highlight): Call popup_activated for MSDOS as well.
       Clear mouse highlight if pointer is over glyphs whose OBJECT is an
       integer.
       (mouse_face_from_buffer_pos): Add parentheses around && within ||.
       (x_consider_frame_title, tool_bar_lines_needed): Move
       prototypes to HAVE_WINDOW_SYSTEM-only part.
       (get_window_cursor_type): Move inside a HAVE_WINDOW_SYSTEM-only
       part.  Remove "#ifdef HAVE_WINDOW_SYSTEM" from body of function.
       (null_glyph_slice): Move declaration into HAVE_WINDOW_SYSTEM-only
       part.
       dispnew.c (mirror_make_current): Set Y coordinate of the
       mode-line and header-line rows.
       (init_display): Setup initial frame's output_data for text
       terminal frames.
       xmenu.c (popup_activated): Don't define on MSDOS, which now has
       its own definition on msdos.c.
       msdos.c (show_mouse_face, clear_mouse_face)
       (fast_find_position, IT_note_mode_line_highlight)
       (IT_note_mouse_highlight): Functions deleted.
       (IT_frame_up_to_date, dos_rawgetc): Call note_mouse_highlight
       instead of IT_note_mouse_highlight.
       (draw_row_with_mouse_face, popup_activated): New functions.
       (dos_set_window_size, draw_row_with_mouse_face, IT_update_begin)
       (IT_update_end, IT_frame_up_to_date, internal_terminal_init)
       (dos_rawgetc): Replace Display_Info with Mouse_HLInfo everywhere
       where mouse_face_* members were accessed for mouse highlight
       purposes.
       msdos.h (initialize_msdos_display): Add prototype.
       frame.h (MOUSE_HL_INFO): New macro.
       lisp.h (Mouse_HLInfo): New data type.
       xterm.h (struct x_display_info):
       w32term.h (struct w32_display_info):
       nsterm.h (struct ns_display_info):
       termchar.h (struct tty_display_info): Use it instead of
       mouse_face_* members.
       dispextern.h (show_mouse_face, clear_mouse_face): Update type of
       1st argument.
       (frame_to_window_pixel_xy, note_mouse_highlight)
       (x_clear_window_mouse_face, cancel_mouse_face, clear_mouse_face)
       (show_mouse_face, cursor_in_mouse_face_p): Move prototypes out of
       HAVE_WINDOW_SYSTEM conditional.
       (draw_row_with_mouse_face): Declare prototype.
       (tty_draw_row_with_mouse_face): Declare prototype.
      c1fc2d3a
  3. 05 Nov, 2010 14 commits
  4. 04 Nov, 2010 4 commits