1. 23 Feb, 2019 1 commit
    • Paul Eggert's avatar
      Avoid some double-rounding of Lisp timestamps · 476066e8
      Paul Eggert authored
      Also, simplify some time-related Lisp timestamp code
      while we’re in the neighborhood.
      * lisp/battery.el (battery-linux-proc-acpi)
      (battery-linux-sysfs, battery-upower, battery-bsd-apm):
      * lisp/calendar/timeclock.el (timeclock-seconds-to-string)
      (timeclock-log, timeclock-last-period)
      (timeclock-entry-length, timeclock-entry-list-span)
      (timeclock-find-discrep, timeclock-generate-report):
      * lisp/cedet/ede/detect.el (ede-detect-qtest):
      * lisp/completion.el (cmpl-hours-since-origin):
      * lisp/ecomplete.el (ecomplete-decay-1):
      * lisp/emacs-lisp/ert.el (ert--results-update-stats-display)
      (ert--results-update-stats-display-maybe):
      * lisp/emacs-lisp/timer-list.el (list-timers):
      * lisp/emacs-lisp/timer.el (timer-until)
      (timer-event-handler):
      * lisp/erc/erc-backend.el (erc-server-send-ping)
      (erc-server-send-queue, erc-handle-parsed-server-response)
      (erc-handle-unknown-server-response):
      * lisp/erc/erc-track.el (erc-buffer-visible):
      * lisp/erc/erc.el (erc-lurker-cleanup, erc-lurker-p)
      (erc-cmd-PING, erc-send-current-line):
      * lisp/eshell/em-pred.el (eshell-pred-file-time):
      * lisp/eshell/em-unix.el (eshell-show-elapsed-time):
      * lisp/gnus/gnus-icalendar.el (gnus-icalendar-event:org-timestamp):
      * lisp/gnus/gnus-int.el (gnus-backend-trace):
      * lisp/gnus/gnus-sum.el (gnus-user-date):
      * lisp/gnus/mail-source.el (mail-source-delete-crash-box):
      * lisp/gnus/nnmaildir.el (nnmaildir--scan):
      * lisp/ibuf-ext.el (ibuffer-mark-old-buffers):
      * lisp/gnus/nnmaildir.el (nnmaildir--scan):
      * lisp/mouse.el (mouse--down-1-maybe-follows-link)
      (mouse--click-1-maybe-follows-link):
      * lisp/mpc.el (mpc--faster-toggle):
      * lisp/net/rcirc.el (rcirc-handler-ctcp-KEEPALIVE)
      (rcirc-sentinel):
      * lisp/net/tramp-cache.el (tramp-get-file-property):
      * lisp/net/tramp-sh.el (tramp-sh-handle-file-newer-than-file-p)
      (tramp-maybe-open-connection):
      * lisp/net/tramp-smb.el (tramp-smb-maybe-open-connection):
      * lisp/org/org-clock.el (org-clock-resolve):
      (org-resolve-clocks, org-clock-in, org-clock-out, org-clock-sum):
      * lisp/org/org-timer.el (org-timer-start)
      (org-timer-pause-or-continue, org-timer-seconds):
      * lisp/org/org.el (org-evaluate-time-range):
      * lisp/org/ox-publish.el (org-publish-cache-ctime-of-src):
      * lisp/pixel-scroll.el (pixel-scroll-in-rush-p):
      * lisp/play/hanoi.el (hanoi-move-ring):
      * lisp/proced.el (proced-format-time):
      * lisp/progmodes/cpp.el (cpp-progress-message):
      * lisp/progmodes/flymake.el (flymake--handle-report):
      * lisp/progmodes/js.el (js--wait-for-matching-output):
      * lisp/subr.el (progress-reporter-do-update):
      * lisp/term/xterm.el (xterm--read-event-for-query):
      * lisp/time.el (display-time-update, emacs-uptime):
      * lisp/tooltip.el (tooltip-delay):
      * lisp/url/url-cookie.el (url-cookie-parse-file-netscape):
      * lisp/url/url-queue.el (url-queue-prune-old-entries):
      * lisp/url/url.el (url-retrieve-synchronously):
      * lisp/xt-mouse.el (xterm-mouse-event):
      Avoid double-rounding of time-related values.  Simplify.
      * lisp/calendar/icalendar.el (icalendar--decode-isodatetime):
      When hoping for the best (unlikely), use a better decoded time.
      (icalendar--convert-sexp-to-ical): Avoid unnecessary encode-time.
      * lisp/calendar/timeclock.el (timeclock-when-to-leave):
      * lisp/cedet/ede/detect.el (ede-detect-qtest):
      * lisp/desktop.el (desktop-create-buffer):
      * lisp/emacs-lisp/benchmark.el (benchmark-elapse):
      * lisp/gnus/gnus-art.el (article-lapsed-string):
      * lisp/gnus/gnus-group.el (gnus-group-timestamp-delta):
      * lisp/gnus/nnmail.el (nnmail-expired-article-p):
      * lisp/gnus/nnmaildir.el (nnmaildir-request-expire-articles):
      * lisp/nxml/rng-maint.el (rng-time-function):
      * lisp/org/org-clock.el (org-clock-get-clocked-time)
      (org-clock-resolve, org-resolve-clocks, org-resolve-clocks-if-idle):
      * lisp/org/org-habit.el (org-habit-insert-consistency-graphs):
      * lisp/progmodes/vhdl-mode.el (vhdl-update-progress-info)
      (vhdl-fix-case-region-1):
      Use time-since instead of open-coding most of it.
      * lisp/erc/erc-dcc.el (erc-dcc-get-sentinel):
      * lisp/erc/erc.el (erc-string-to-emacs-time, erc-time-gt):
      Now obsolete.  All uses changed.
      (erc-time-diff): Accept all Lisp time values.
      All uses changed.
      * lisp/gnus/gnus-demon.el (gnus-demon-idle-since):
      * lisp/gnus/gnus-score.el (gnus-score-headers):
      * lisp/gnus/nneething.el (nneething-make-head):
      * lisp/gnus/nnheader.el (nnheader-message-maybe):
      * lisp/gnus/nnimap.el (nnimap-keepalive):
      * lisp/image.el (image-animate-timeout):
      * lisp/mail/feedmail.el (feedmail-rfc822-date):
      * lisp/net/imap.el (imap-wait-for-tag):
      * lisp/net/newst-backend.el (newsticker--image-get):
      * lisp/net/rcirc.el (rcirc-handler-317, rcirc-handler-333):
      * lisp/obsolete/xesam.el (xesam-refresh-entry):
      * lisp/org/org-agenda.el (org-agenda-show-clocking-issues)
      (org-agenda-check-clock-gap, org-agenda-to-appt):
      * lisp/org/org-capture.el (org-capture-set-target-location):
      * lisp/org/org-clock.el (org-clock-resolve-clock)
      (org-clocktable-steps):
      * lisp/org/org-colview.el (org-columns-edit-value)
      (org-columns, org-agenda-columns):
      * lisp/org/org-duration.el (org-duration-from-minutes):
      * lisp/org/org-element.el (org-element-cache-sync-duration)
      (org-element-cache-sync-break)
      (org-element--cache-interrupt-p, org-element--cache-sync):
      * lisp/org/org-habit.el (org-habit-get-faces)
      * lisp/org/org-indent.el (org-indent-add-properties):
      * lisp/org/org-table.el (org-table-sum):
      * lisp/org/org-timer.el (org-timer-show-remaining-time)
      (org-timer-set-timer):
      * lisp/org/org.el (org-babel-load-file, org-today)
      (org-auto-repeat-maybe, org-2ft, org-time-stamp)
      (org-read-date-analyze, org-time-stamp-to-now)
      (org-small-year-to-year, org-goto-calendar):
      * lisp/org/ox.el (org-export-insert-default-template):
      * lisp/ses.el (ses--time-check):
      * lisp/type-break.el (type-break-time-warning)
      (type-break-statistics, type-break-demo-boring):
      * lisp/url/url-cache.el (url-cache-expired)
      (url-cache-prune-cache):
      * lisp/vc/vc-git.el (vc-git-stash-snapshot):
      * lisp/erc/erc-match.el (erc-log-matches-come-back):
      Simplify.
      476066e8
  2. 01 Jan, 2019 1 commit
  3. 02 Jul, 2018 1 commit
    • John Shahid's avatar
      Optionally add argument description in minor mode DOC (bug#10754) · ee3e4323
      John Shahid authored
      Add a paragraph to minor mode's docstring documenting the mode's ARG
      usage if the supplied docstring doesn't already contain the word "ARG".
      
      * easy-mmode.el (easy-mmode--arg-docstring): New const.
      (easy-mmode--arg-docstring): New function.
      (define-minor-mode): Use them.
      
      Remove argument documentation from all minor modes.
      ee3e4323
  4. 01 Jan, 2018 1 commit
  5. 07 Oct, 2017 1 commit
    • Eli Zaretskii's avatar
      New defcustom 'tooltip-resize-echo-area' · 9b3ce625
      Eli Zaretskii authored
      * lisp/tooltip.el (tooltip-resize-echo-area): New defcustom.
      (tooltip-show-help-non-mode): Use it to avoid truncating the
      tooltip text in the echo area.  (Bug#28724)
      
      * etc/NEWS: Mention 'tooltip-resize-echo-area'.
      9b3ce625
  6. 13 Sep, 2017 1 commit
    • Paul Eggert's avatar
      Prefer HTTPS to FTP and HTTP in documentation · bc511a64
      Paul Eggert authored
      Most of this change is to boilerplate commentary such as license URLs.
      This change was prompted by ftp://ftp.gnu.org's going-away party,
      planned for November.  Change these FTP URLs to https://ftp.gnu.org
      instead.  Make similar changes for URLs to other organizations moving
      away from FTP.  Also, change HTTP to HTTPS for URLs to gnu.org and
      fsf.org when this works, as this will further help defend against
      man-in-the-middle attacks (for this part I omitted the MS-DOS and
      MS-Windows sources and the test tarballs to keep the workload down).
      HTTPS is not fully working to lists.gnu.org so I left those URLs alone
      for now.
      bc511a64
  7. 25 Jun, 2017 1 commit
    • Martin Rudalics's avatar
      Provide additional support for child frames · 1886246f
      Martin Rudalics authored
      Provide mouse dragging and resizing of frames.  Allow resizing
      frames proportionally.  Provide additional functionality for
      child frames.  Minor bug fixes.
      
      * lisp/frame.el (frame-border-width, frame-pixel-width)
      (frame-pixel-height): Alias to `frame-internal-border-width',
      `frame-native-width' and `frame-native-height'.
      (frame-inner-width, frame-inner-height, frame-outer-width)
      (frame-outer-height): New functions.
      * lisp/minibuffer.el (completion-auto-help): Fix typo.
      * lisp/mouse.el (mouse-drag-line, mouse-drag-mode-line)
      (mouse-drag-header-line): Allow moving a frame by dragging the
      mode line of its bottommost window (on a minibuffer-less frame)
      or the header line of its topmost window.
      (mouse-drag-vertical-line): Mention argument in doc-string.
      (mouse-resize-frame, mouse-drag-frame, mouse-drag-left-edge)
      (mouse-drag-top-left-corner, mouse-drag-top-edge)
      (mouse-drag-top-right-corner, mouse-drag-right-edge)
      (mouse-drag-bottom-right-corner, mouse-drag-bottom-edge)
      (mouse-drag-bottom-left-corner): New functions for resizing a
      frame by dragging its internal border together with
      corresponding key bindings.
      * lisp/tooltip.el (tooltip-frame-parameters): Add
      'no-special-glyphs' to default parameters and update version
      tag.
      * lisp/window.el (frame-auto-hide-function): Add choice to make
      frame invisible and update version tag.
      (window--delete): Handle 'auto-hide-function' frame parameter.
      (window--maybe-raise-frame): Respect 'no-focus-on-map' and
      'no-accept-focus' frame parameters.
      (display-buffer--action-function-custom-type): Add
      `display-buffer-in-child-frame'.
      (display-buffer): Mention `display-buffer-in-child-frame' in
      doc-string.
      (display-buffer-in-child-frame): New action function for
      `display-buffer'.
      (window--sanitize-margin): Return zero when MARGIN cannot be
      sanitized.
      (fit-frame-to-buffer): Major rewrite to handle child frames and
      'fit-frame-to-buffer-sizes' and 'fit-frame-to-buffer-margins'
      frame parameters.
      (window-largest-empty-rectangle--maximums-1)
      (window-largest-empty-rectangle--maximums)
      (window-largest-empty-rectangle--disjoint-maximums)
      (window-largest-empty-rectangle): New functions.
      
      * src/dispextern.h (WINDOW_WANTS_MODELINE_P)
      (WINDOW_WANTS_HEADER_LINE_P): Remove.  Functionality is now
      provided by corresponding functions window_wants_modeline and
      window_wants_header_line in window.c.  Adjust users.
      * src/dispnew.c (adjust_glyph_matrix)
      (buffer_posn_from_coords): Use window_wants_modeline and
      window_wants_header_line instead of WINDOW_WANTS_MODELINE_P and
      WINDOW_WANTS_HEADER_LINE_P.
      * src/frame.c (keep_ratio): New function.
      (adjust_frame_size): Call keep_ratio for each of F's child
      frames.
      (make_frame): Initialize no_special_glyphs slot.
      (frame_internal_border_part): New function.
      (Fframe_pixel_width, Fframe_pixel_height, Fborder_width): Rename
      to Fframe_native_width, Fframe_native_height mand
      Fframe_internal_border_width.
      (frame_parm_table): Add Qno_special_glyphs entry.
      (frame_float_type): New enumeration type.
      (frame_float): New function to handle frame size and position
      ratios.
      (x_set_frame_parameters): Handle size and position ratios.
      (x_set_no_special_glyphs): New function
      (x_figure_window_size): Handle size and position ratios.
      (syms_of_frame): Add Qdisplay_monitor_attributes_list,
      Qno_special_glyphs, Qframe_edges, Qkeep_ratio, Qwidth_only,
      Qheight_only, Qleft_only and Qtop_only.
      * src/frame.h (internal_border_part): New enumeration type.
      (struct frame): New slot no_special_glyphs.
      (FRAME_NO_SPECIAL_GLYPHS): New macro.
      * src/gtkutil.c (xg_frame_restack): Return immediately for
      GTK versions before 2.18.0.
      * src/keyboard.c (internal_border_parts): New array constant.
      (make_lispy_position): For frames with border dragging enabled
      return internal border part.
      (syms_of_keyboard): New symbols Qdrag_internal_border,
      Qleft_edge, Qtop_left_corner, Qtop_edge, Qtop_right_corner,
      Qright_edge, Qbottom_right_corner, Qbottom_edge and
      Qbottom_left_corner.
      * src/minibuf.c (read_minibuf_unwind): When exiting the
      minibuffer deal with frames that have the 'minibuffer-exit'
      parameter set.
      (syms_of_minibuf): New symbol Qminibuffer_exit.
      * src/nsfns.m (frame_parm_handler): Add entry for
      x_set_no_special_glyphs.
      (Fx_create_frame): Handle 'no-special-glyphs' parameter.
      Intitialize new cursor types for dragging frame borders.
      * src/nsterm.h (struct ns_output): Add new cursor types for
      dragging frame borders.
      * src/w32fns.c (w32_frame_parm_handlers): Add entry for
      x_set_no_special_glyphs.
      (Fx_create_frame): Handle 'no-special-glyphs' parameter.
      Intitialize new cursor types for dragging frame borders.
      * src/w32term.h (struct w32_output): Add new cursor types for
      dragging frame borders.
      * src/window.c (coordinates_in_window)
      (Fwindow_line_height, window_internal_height): Use
      window_wants_modeline and window_wants_header_line instead of
      WINDOW_WANTS_MODELINE_P and WINDOW_WANTS_HEADER_LINE_P.
      (Fwindow_lines_pixel_dimensions): New function.
      (window_parameter): New function.
      (Fwindow_parameter): Call window_parameter.
      (window_wants_mode_line, window_wants_header_line): New
      functions replacing the macros WINDOW_WANTS_MODELINE_P and
      WINDOW_WANTS_HEADER_LINE_P from dispextern.h.
      (syms_of_window): New symbols Qmode_line_format and
      Qheader_line_format.
      * src/window.h: Reorganize and re-comment macros.  Use
      window_wants_modeline and window_wants_header_line instead of
      WINDOW_WANTS_MODELINE_P and WINDOW_WANTS_HEADER_LINE_P.
      (MINI_NON_ONLY_WINDOW_P, MINI_ONLY_WINDOW_P): Minor rewrite.
      (WINDOW_BUFFER): New macro.
      (WINDOW_BOX_LEFT_EDGE_COL, WINDOW_BOX_RIGHT_EDGE_COL): Remove.
      * src/xdisp.c (window_text_bottom_y, window_box_height)
      (window_box, start_display)
      (compute_window_start_on_continuation_line)
      (try_cursor_movement, redisplay_window)
      (try_window_reusing_current_matrix, try_window_id)
      (display_line, expose_window): Use window_wants_modeline and
      window_wants_header_line instead of WINDOW_WANTS_MODELINE_P and
      WINDOW_WANTS_HEADER_LINE_P.
      (pos_visible_p, display_mode_lines): Respect W's
      'mode-line-format' and 'header-line-format' window parameters.
      (init_iterator): Use window_wants_modeline and
      window_wants_header_line instead of WINDOW_WANTS_MODELINE_P and
      WINDOW_WANTS_HEADER_LINE_P.  For tip frames respect
      no_special_glyphs value.
      (note_mouse_highlight): Set frame border cursors when on
      internal border.
      (x_draw_right_divider, x_draw_bottom_divider): Try to improve
      drawing of window dividers.
      * src/xfns.c (mouse_cursor): Add entries for border parts.
      (mouse_cursor_types): Add entries for cursor types to drag
      frame borders.
      (INSTALL_CURSOR): Add entries for new cursor types to drag
      frame borders.
      (Fx_create_frame): Handle 'no-special-glyphs' parameter.
      (x_frame_parm_handlers): Add entry for
      x_set_no_special_glyphs.
      (Vx_window_left_edge_shape, Vx_window_top_left_corner_shape)
      (Vx_window_top_edge_shape, Vx_window_top_right_corner_shape)
      (Vx_window_right_edge_shape)
      (Vx_window_bottom_right_corner_shape)
      (Vx_window_bottom_edge_shape)
      (Vx_window_bottom_left_corner_shape): New variables.
      (x_frame_restack): Call xg_frame_restack only for GTK versions
      starting with 2.18.0.
      * src/xterm.c (x_free_frame_resources): Remove new cursors for
      dragging frame borders.
      * src/xterm.h (struct x_output): Add new cursor types for
      dragging frame borders.
      
      * doc/lispref/display.texi (Size of Displayed Text): Document
      `window-lines-pixel-dimensions'.
      * doc/lispref/elisp.texi (Top): Add entry for "Mouse Dragging
      Parameters".
      * doc/lispref/frames.texi (Frame Size): Replace
      frame-pixel-width/-height by frame-native-width/-height.  Add
      frame-inner-width/-height and frame-outer-width/-height docs.
      (Position Parameters): Describe specifying position as ratios.
      Clarify remark about positions relative to bottom/ridge display
      edge.
      (Size Parameters): Describe specifying sizes as ratios.
      Describe 'fit-frame-to-buffer-margins' and
      'fit-frame-to-buffer-sizes' parameters.
      (Layout Parameters): Describe 'no-special-glyphs' parameter.
      (Frame Interaction Parameters): Describe 'auto-hide-function',
      'minibuffer-exit' and 'keep-ratio' parameters.
      (Mouse Dragging Parameters): New section describing
      'drag-internal-border', 'drag-with-header-line',
      'drag-with-mode-line', 'snap-width', 'top-visible' and
      'bottom-visible' parameters.
      (Management Parameters): Mention that `override-redirect' has
      no effect on MS Windows.
      (Font and Color Parameters): Mention child frames for `alpha'
      parameter.
      (Child Frames): Rewrite section with description and cross
      references to new frame parameters added.
      * doc/lispref/modes.texi (Mode Line Basics): Mention
      'mode-line-format' and 'header-line-format' window parameters.
      * doc/lispref/windows.texi (Resizing Windows): Mention effect
      of `fit-frame-to-buffer-margins' for child frames.
      (Display Action Functions): New action function
      `display-buffer-in-child-frame'.
      (Quitting Windows): Mention `make-frame-invisible' as optional
      value of `frame-auto-hide-function' and `auto-hide-function'
      frame paameter.
      (Coordinates and Windows): Describe new function
      `window-largest-empty-rectangle'.
      (Window Parameters): Describe new parameters 'mode-line-format'
      and 'header-line-format'.  Index all window parameters described
      in this section.
      1886246f
  8. 01 Jan, 2017 1 commit
  9. 30 Jan, 2016 1 commit
    • Glenn Morris's avatar
      Improve the custom type of some user options. · 0fac75fe
      Glenn Morris authored
      * lisp/desktop.el (desktop-minor-mode-table):
      * lisp/man.el (Man-frame-parameters):
      * lisp/midnight.el (midnight-delay):
      * lisp/speedbar.el (speedbar-select-frame-method):
      * lisp/tooltip.el (tooltip-frame-parameters):
      * lisp/tree-widget.el (tree-widget-space-width):
      * lisp/type-break.el (type-break-keystroke-threshold):
      * lisp/woman.el (woman-imenu-generic-expression):
      * lisp/cedet/ede.el (ede-debug-program-function):
      * lisp/cedet/ede/project-am.el (project-am-debug-target-function):
      * lisp/emulation/viper-keym.el (viper-toggle-key):
      * lisp/erc/erc-networks.el (erc-server-alist):
      * lisp/gnus/message.el (message-deletable-headers, message-signature):
      * lisp/mail/mailalias.el (mail-directory-stream):
      * lisp/play/tetris.el (tetris-x-colors):
      * lisp/progmodes/gud.el (gud-tooltip-modes): Improve custom type.
      0fac75fe
  10. 01 Jan, 2016 1 commit
  11. 01 Jan, 2015 2 commits
  12. 05 Dec, 2014 1 commit
    • Stefan Monnier's avatar
      * lisp: Prefer inlinable functions to macros. · be307485
      Stefan Monnier authored
      * lisp/fringe.el (fringe-bitmap-p): Make it a plain function.
      
      * lisp/tooltip.el (tooltip-region-active-p): Remove.
      
      * lisp/net/shr.el (shr-char-breakable-p, shr-char-kinsoku-bol-p)
      (shr-char-kinsoku-eol-p, shr-char-nospace-p): Use define-inline.
      
      * lisp/url/url-future.el (url-future-done-p, url-future-completed-p)
      (url-future-errored-p, url-future-cancelled-p):
      * lisp/url/url-dav.el (url-dav-http-success-p): Use define-inline.
      
      * lisp/vc/ediff-init.el (ediff-odd-p): Remove.
      (ediff-background-face): Use cl-oddp instead.
      (ediff-buffer-live-p): Make it a defsubst.
      be307485
  13. 01 Oct, 2014 1 commit
    • Stefan Monnier's avatar
      * lisp/subr.el (alist-get): New accessor. · a57fa964
      Stefan Monnier authored
      * lisp/emacs-lisp/gv.el (alist-get): Provide expander.
      * lisp/winner.el (winner-remember):
      * lisp/tempo.el (tempo-use-tag-list):
      * lisp/progmodes/gud.el (minor-mode-map-alist):
      * lisp/international/mule-cmds.el (define-char-code-property):
      * lisp/frameset.el (frameset-filter-params):
      * lisp/files.el (dir-locals-set-class-variables):
      * lisp/register.el (get-register, set-register):
      * lisp/calc/calc-yank.el (calc-set-register): Use it.
      * lisp/ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
      * lisp/tooltip.el (tooltip-set-param): Mark as obsolete.
      (tooltip-show): Use alist-get instead.
      * lisp/ses.el (ses--alist-get): Remove.  Use alist-get instead.
      * admin/unidata/unidata-gen.el (unidata-gen-table-word-list): Use alist-get
      and cl-incf.
      a57fa964
  14. 24 Apr, 2014 1 commit
  15. 01 Jan, 2014 1 commit
  16. 08 Oct, 2013 1 commit
  17. 24 May, 2013 1 commit
    • Glenn Morris's avatar
      Gud tooltip tweak · 3c291973
      Glenn Morris authored
      * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
      * progmodes/gud.el (gud-gdb-completion-function): Move before use.
      (gud-tooltip-echo-area): Make obsolete.
      (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
      3c291973
  18. 01 Jan, 2013 1 commit
  19. 14 Aug, 2012 1 commit
    • Eli Zaretskii's avatar
      Fix and improve GUD Tooltip mode. · ba025fbd
      Eli Zaretskii authored
       lisp/tooltip.el (tooltip-identifier-from-point): Don't treat tokens
       inside comments and strings as identifiers.
       lisp/progmodes/gud.el (gud-tooltip-print-command): Quote the
       expression to evaluate.  This allows to evaluate expressions with
       embedded whitespace.
       (gud-tooltip-tips): Add a blank before the newline in the
       message-box text, for the benefit of message-box emulation on
       MS-Windows.
       lisp/progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
       messages from GDB, pop them up in a tooltip to give feedback to
       user.
       (gdb-tooltip-print-1): Quote the expression to evaluate.  This
       allows to evaluate expressions with embedded whitespace.
       (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
       if the TTY name is nil or empty (which happens when communicating
       with the inferior via pipes, e.g. on MS-Windows).
       (gdb-internals): If GDB sends a "&\n" empty debugging message,
       don't send that to the GUD buffer.
      
       doc/emacs/building.texi (Debugger Operation): Correct and improve
       documentation of the GUD Tooltip mode.
      ba025fbd
  20. 13 May, 2012 1 commit
    • Stefan Monnier's avatar
      Move define-obsolete-variable-alias before the var's definition. · e5bd0a28
      Stefan Monnier authored
      * lisp/vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
      * lisp/tooltip.el (tooltip-hook):
      * lisp/textmodes/reftex-toc.el (reftex-toc-map):
      * lisp/textmodes/reftex-sel.el (reftex-select-label-map)
      (reftex-select-bib-map):
      * lisp/textmodes/reftex-index.el (reftex-index-map)
      (reftex-index-phrases-map):
      * lisp/speedbar.el (speedbar-syntax-table, speedbar-key-map):
      * lisp/progmodes/meta-mode.el (meta-mode-map):
      * lisp/novice.el (disabled-command-hook):
      * lisp/loadhist.el (unload-hook-features-list):
      * lisp/frame.el (blink-cursor):
      * lisp/files.el (find-file-not-found-hooks, write-file-hooks)
      (write-contents-hooks):
      * lisp/emulation/tpu-edt.el (GOLD-map):
      * lisp/emacs-lock.el (emacs-lock-from-exiting):
      * lisp/emacs-lisp/generic.el (generic-font-lock-defaults):
      * lisp/emacs-lisp/chart.el (chart-map):
      * lisp/dos-fns.el (register-name-alist):
      * lisp/dired-x.el (dired-omit-files-p):
      * lisp/desktop.el (desktop-enable):
      * lisp/cus-edit.el (custom-mode-hook):
      * lisp/buff-menu.el (buffer-menu-mode-hook):
      * lisp/bookmark.el (bookmark-read-annotation-text-func)
      (bookmark-exit-hooks):
      * lisp/allout.el (allout-mode-deactivate-hook)
      (allout-exposure-change-hook, allout-structure-added-hook)
      (allout-structure-deleted-hook, allout-structure-shifted-hook):
      * lisp/dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
      (dirtrack-debug): Move call to define-obsolete-variable-alias so it
      comes before the corresponding variable's definition.
      e5bd0a28
  21. 08 Feb, 2012 1 commit
    • Glenn Morris's avatar
      Minor-mode doc fixes for ARG behavior · e1ac4066
      Glenn Morris authored
      * lisp/completion.el (dynamic-completion-mode):
      * lisp/dirtrack.el (dirtrack-debug-mode):
      * lisp/electric.el (electric-layout-mode):
      * lisp/epa-mail.el (epa-mail-mode, epa-global-mail-mode):
      * lisp/face-remap.el (text-scale-mode, buffer-face-mode):
      * lisp/iimage.el (iimage-mode):
      * lisp/image-mode.el (image-transform-mode):
      * lisp/minibuffer.el (completion-in-region-mode):
      * lisp/scroll-lock.el (scroll-lock-mode):
      * lisp/simple.el (next-error-follow-minor-mode):
      * lisp/tar-mode.el (tar-subfile-mode):
      * lisp/tooltip.el (tooltip-mode):
      * lisp/vcursor.el (vcursor-use-vcursor-map):
      * lisp/wid-browse.el (widget-minor-mode):
      * lisp/emulation/tpu-edt.el (tpu-edt-mode):
      * lisp/emulation/tpu-extras.el (tpu-cursor-free-mode):
      * lisp/international/iso-ascii.el (iso-ascii-mode):
      * lisp/language/thai-util.el (thai-word-mode):
      * lisp/mail/supercite.el (sc-minor-mode):
      * lisp/net/goto-addr.el (goto-address-mode):
      * lisp/net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
      * lisp/progmodes/cwarn.el (cwarn-mode):
      * lisp/progmodes/flymake.el (flymake-mode):
      * lisp/progmodes/glasses.el (glasses-mode):
      * lisp/progmodes/hideshow.el (hs-minor-mode):
      * lisp/progmodes/pascal.el (pascal-outline-mode):
      * lisp/textmodes/enriched.el (enriched-mode):
      * lisp/vc/smerge-mode.el (smerge-mode):
      Doc fixes (minor mode argument).
      
      * etc/NEWS: Related markup.
      e1ac4066
  22. 28 Jan, 2012 1 commit
  23. 11 Jan, 2012 1 commit
  24. 05 Jan, 2012 1 commit
  25. 19 Oct, 2011 1 commit
    • Chong Yidong's avatar
      Fix minor mode docstrings for the new meaning of a nil ARG. · 06e21633
      Chong Yidong authored
      * abbrev.el (abbrev-mode):
      * allout.el (allout-mode):
      * autoinsert.el (auto-insert-mode):
      * autoarg.el (autoarg-mode, autoarg-kp-mode):
      * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
      (global-auto-revert-mode):
      * battery.el (display-battery-mode):
      * composite.el (global-auto-composition-mode)
      (auto-composition-mode):
      * delsel.el (delete-selection-mode):
      * desktop.el (desktop-save-mode):
      * dired-x.el (dired-omit-mode):
      * dirtrack.el (dirtrack-mode):
      * doc-view.el (doc-view-minor-mode):
      * double.el (double-mode):
      * electric.el (electric-indent-mode, electric-pair-mode):
      * emacs-lock.el (emacs-lock-mode):
      * epa-hook.el (auto-encryption-mode):
      * follow.el (follow-mode):
      * font-core.el (font-lock-mode):
      * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
      * help.el (temp-buffer-resize-mode):
      * hilit-chg.el (highlight-changes-mode)
      (highlight-changes-visible-mode):
      * hi-lock.el (hi-lock-mode):
      * hl-line.el (hl-line-mode, global-hl-line-mode):
      * icomplete.el (icomplete-mode):
      * ido.el (ido-everywhere):
      * image-file.el (auto-image-file-mode):
      * image-mode.el (image-minor-mode):
      * iswitchb.el (iswitchb-mode):
      * jka-cmpr-hook.el (auto-compression-mode):
      * linum.el (linum-mode):
      * longlines.el (longlines-mode):
      * master.el (master-mode):
      * mb-depth.el (minibuffer-depth-indicate-mode):
      * menu-bar.el (menu-bar-mode):
      * minibuf-eldef.el (minibuffer-electric-default-mode):
      * mouse-sel.el (mouse-sel-mode):
      * msb.el (msb-mode):
      * mwheel.el (mouse-wheel-mode):
      * outline.el (outline-minor-mode):
      * paren.el (show-paren-mode):
      * recentf.el (recentf-mode):
      * reveal.el (reveal-mode, global-reveal-mode):
      * rfn-eshadow.el (file-name-shadow-mode):
      * ruler-mode.el (ruler-mode):
      * savehist.el (savehist-mode):
      * scroll-all.el (scroll-all-mode):
      * scroll-bar.el (scroll-bar-mode):
      * server.el (server-mode):
      * shell.el (shell-dirtrack-mode):
      * simple.el (auto-fill-mode, transient-mark-mode)
      (visual-line-mode, overwrite-mode, binary-overwrite-mode)
      (line-number-mode, column-number-mode, size-indication-mode)
      (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
      * strokes.el (strokes-mode):
      * time.el (display-time-mode):
      * t-mouse.el (gpm-mouse-mode):
      * tool-bar.el (tool-bar-mode):
      * tooltip.el (tooltip-mode):
      * type-break.el (type-break-mode-line-message-mode)
      (type-break-query-mode):
      * view.el (view-mode):
      * whitespace.el (whitespace-mode, whitespace-newline-mode)
      (global-whitespace-mode, global-whitespace-newline-mode):
      * xt-mouse.el (xterm-mouse-mode): Doc fix.
      
      * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Fix
      autogenerated docstring.
      06e21633
  26. 19 Apr, 2011 1 commit
  27. 25 Jan, 2011 1 commit
  28. 15 Jan, 2011 1 commit
  29. 02 Jan, 2011 1 commit
  30. 29 Aug, 2010 1 commit
  31. 13 Jan, 2010 1 commit
  32. 12 Nov, 2009 1 commit
  33. 11 Nov, 2009 1 commit
    • Dan Nicolaescu's avatar
      * widget.el (define-widget): Purecopy the docstring. · aaa448c9
      Dan Nicolaescu authored
      * international/mule-cmds.el (charset): Do not purecopy the
      docstring here, define-widget does it.
      
      * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
      * textmodes/bibtex-style.el (auto-mode-alist):
      * progmodes/inf-lisp.el (inferior-lisp-prompt):
      * progmodes/compile.el (compile-command):
      * language/korea-util.el (default-korean-keyboard):
      * international/mule-conf.el (file-coding-system-alist):
      * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
      * tooltip.el (tooltip-frame-parameters):
      * newcomment.el (comment-end, comment-padding):
      * dired.el (dired-trivial-filenames):
      * comint.el (comint-file-name-prefix): Purecopy initial values.
      aaa448c9
  34. 13 Sep, 2009 1 commit
    • Stefan Monnier's avatar
      * mail/sendmail.el (send-mail-function): · adba8116
      Stefan Monnier authored
      * tooltip.el (tooltip-mode):
      * simple.el (transient-mark-mode):
      * rfn-eshadow.el (file-name-shadow-mode):
      * frame.el (blink-cursor-mode):
      * font-core.el (global-font-lock-mode):
      * files.el (temporary-file-directory)
      (small-temporary-file-directory, auto-save-file-name-transforms):
      * epa-hook.el (auto-encryption-mode):
      * composite.el (global-auto-composition-mode):
      Use custom-initialize-delay.
      * startup.el (command-line): Don't explicitly call
      custom-reevaluate-setting for all the above vars.
      * custom.el (custom-initialize-safe-set)
      (custom-initialize-safe-default): Delete.
      adba8116
  35. 28 Apr, 2009 1 commit
  36. 06 Apr, 2009 1 commit
  37. 16 Mar, 2009 1 commit
  38. 05 Jan, 2009 1 commit
  39. 31 Oct, 2008 1 commit