| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Let all the buttons begins with an upper-case character and the rest of
the text is lower-case.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lisp/net/dictionary-connection.el (dictionary-connection-p,
dictionary-connection-read-point, dictionary-connection-process,
dictionary-connection-buffer, dictionary-connection-set-read-point,
dictionary-connection-set-process, dictionary-connection-set-buffer,
dictionary-connection-create-data, dictionary-connection-open,
dictionary-connection-status, dictionary-connection-close,
dictionary-connection-send, dictionary-connection-send-crlf,
dictionary-connection-read, dictionary-connection-read-crlf,
dictionary-connection-read-to-point): Fix docstring
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lisp/net/dictionary.el (dictionary-set-server-var, dictionary-mode,
dictionary, dictionary-new-buffer, dictionary-reply-code,
dictionary-reply, dictionary-reply-list, dictionary-open-server,
dictionary-check-connection, dictionary-mode-p, dictionary-close,
dictionary-read-reply, dictionary-split-string,
dictionary-read-reply-and-split, dictionary-read-answer,
dictionary-check-reply, dictionary-coding-system,
dictionary-decode-charset, dictionary-encode-charset,
dictionary-check-initial-reply, dictionary-store-state,
dictionary-restore-state, dictionary-new-search,
dictionary-new-search-internal, dictionary-do-search,
dictionary-pre-buffer, dictionary-post-buffer,
dictionary-display-search-result, dictionary-display-word-entry,
dictionary-display-word-definition, dictionary-mark-reference,
dictionary-select-dictionary, dictionary-display-dictionarys,
dictionary-display-dictionary-line, dictionary-set-dictionary,
dictionary-special-dictionary, dictionary-display-more-info,
dictionary-select-strategy, dictionary-do-select-strategy,
dictionary-display-strategies, dictionary-display-strategy-line,
dictionary-set-strategy, dictionary-new-matching,
dictionary-do-matching, dictionary-display-only-match-result,
dictionary-display-match-result, dictionary-display-match-result,
dictionary-display-match-lines, dictionary-search,
dictionary-previous, dictionary-help, dictionary-match-words,
dictionary-mouse-popup-matching-words,
dictionary-popup-matching-words, dictionary-tooltip-mode,
dictionary-tooltip-mouse-event): Fix docstring
The following kind of changes were made:
- finish first line with a full stop (.)
- mention parameter in upper-case whenever possible (considering the
length constraints)
|
|
|
|
| |
Fix the spelling in the error message for non-existing dictionary.
|
|
|
|
|
|
|
|
| |
* lisp/net/dictionary-connection.el (dictionary-connection-status,
dictionary-connection-close): Instead of returning nil in the else case
of the if just use when.
Was suggested by Stefan Kangas.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Use defsubst instead of defmacro here. It was suggested by Stefan
Kangas to replace the defmacro here and, looking at the lispref,
defsubst seems to be a suitable replacement providing the same
benefit of inlining functionality as the defmacro.
|
|
|
|
|
| |
* lisp/net/dictionary.el: Use GPL version 3 or later
* lisp/net/dictionary-connection.el: Use GPL version 3 or later
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* lisp/net/dictionary.el (dictionary-popup-matching-words): Show error
if neither the parameter nor the word at point are defined
This avoids an error later on when the nil value is used as string
within dictionary-encode-charset.
|
|
|
|
|
|
| |
* lisp/net/dictionary.el (dictionary-popup-matching-words): No need to
check for popup-menu, the code is part of Emacs now and the function
should always be there
|
|
|
|
|
| |
Fixing all the issues found by this. A number of unused variables were
reported here.
|
|
|
|
|
| |
Version and package depedencies are not useful when included into
Emacs.
|
| |
|
| |
|
|
|
|
|
|
| |
* lisp/net/dictionary.el (dictionary-tooltip-mouse-event): Place
variable before dictionary-display-tooltip to avoid warning about use of
free variable when compiling dictionary-display-tooltip
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* net/lisp/dictionary.el (dictionary-server): Support choice to select
the dictionary server to use
* net/lisp/dictionary.el (dictionary-check-connection): Support nil
value for dictionary-server
This nil value is the new default value of that variable. When
opening a new connection and dictionary-server is nil the code
behaves the following way:
- it will first try to connect to a dictd server running on localhost
- if that fails, it queries the user if the alternative
server (dict.org) should be consulted
- if the user agrees, the connection is made to dict.org
This allows the default value of dictionary-server not to connect
a remote server by default. The user is always able to select a
different server by customizing the variable dictionary-search.
|
|
|
|
|
|
|
|
|
| |
* lisp/net/dicionary.el (dictionary-tooltip-mode): Add mouse movement
binding and use tooltip-functions instead of tooltip-hook
There were some changes in Emacs since testing it the last time. I had
to add keybinding for mouse movement and enable track-mouse to get the
mode working again.
|
|
|
|
|
|
|
|
|
| |
* net/lisp/dictionary.el (dictionary-display-dictionary-line): Allow
getting more details on a dictionary by clicking the "(Details)" link.
I had the functionality to query the dictionary information but no
mechanism to invoke it. So just add a button after the short description
of the dictionary to get more information.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* net/lisp/dictionary-link.el: Removed now obsolete file
* net/lisp/dictionary.el: Use insert-button and make-button
* net/lisp/dictionary.el (dictionary-mode-map): Now defined using defvar
I had to add a conversion function as parameter for the button 'action
as I need to be able to pass nil data to my function. This is not
possible with the regular button 'action function and the 'button-data
value.
The functionality of searching a link in all dictionaries has been
removed for now. It might appear again once I have an idea how to
implement it.
|
|
|
|
|
| |
* lisp/net/dictionary.el: defface has been available in Emacs for quite
some time now. No need to check it before using it.
|
|
|
|
|
|
| |
* lisp/net/dictionary.el (dictionary-coding-systems-for-dictionaries):
Don't check for coding-system-list before using it. It check no longer
be necessary.
|
|
|
|
|
|
| |
* lisp/net/dictionary.el: Add :version tag to all defcustom statements
Suggested-By: Robert Pluim <rpluim@gmail.com>
|
|
|
|
|
|
| |
* lisp/net/dictionary.el: Use cl-lib, remove defface and defgroup
checks, remove xemacs-related code
* lisp/net/dictionary-link.el: Remove xemacs-related code
|
|
|
|
|
|
| |
* lisp/net/link.el: Renamed to connection-link.el, also prefixing all
functions with "dictionary-" prefix
* lisp/net/dictionary.el: Adapt to renamed functions
|
|
|
|
|
|
| |
* lisp/net/connection.el: Renamed to dictionary-connection.el, also
prefixing all functions with "dictionary-" prefix
* lisp/net/dictionary.el: Adapt to renamed functions
|
|
|
|
|
| |
* lisp/net: Adding files connection.el, link.el, dictionary.el,
imported from https://github.com/myrkr/dictionary-el.git
|
|
|
|
|
| |
* lisp/progmodes/project.el:
Mention two more functions in the commentary (bug#43595).
|
|
|
|
|
|
|
|
| |
* etc/NEWS:
* doc/emacs/search.texi (Search Customizations): Improve and
clarify the wording of the 'isearch-group-N' faces description.
* lisp/isearch.el (search-highlight-submatches): Doc fix.
|
|
|
|
|
|
| |
* lisp/frame.el (frame-set-background-mode): Fix last change: yet
another place where FRAME was not taken into account, using the
selected frame instead. (Bug#43837)
|
|
|
|
|
|
| |
* lisp/frame.el (frame-set-background-mode): Use the FRAME
argument instead of the selected frame, when calling
'face-spec-match-p'. (Bug#43837)
|
|
|
|
|
| |
* doc/lispref/edebug.texi (Printing in Edebug): Remove mention of
the obsolete cust-print.el (bug#37956) and adjust the text a bit.
|
|
|
|
|
|
|
|
|
|
| |
* doc/lispref/commands.texi (Command Loop Info):
`this-command-keys' does not include the C-u any more, so remove
that from the description and the example
(bug#22107).
* src/keyboard.c (Fthis_single_command_keys): Don't say that
`this-command-keys' returns the C-u prefix (bug#22111).
|
|
|
|
|
| |
* lisp/progmodes/grep.el (grep-compute-defaults): Skip directories
(bug#23590).
|
|
|
|
|
|
|
| |
* lisp/textmodes/artist.el (artist--adjust-x): New function.
(artist-mouse-draw-continously, artist-mouse-draw-poly)
(artist-mouse-draw-1point, artist-mouse-draw-2points): Use it to
take `display-line-numbers-mode' widths into account.
|
|
|
|
|
| |
* doc/misc/gnus.texi (Startup Variables): Remove reference to
gnus-use-backend-marks, which was removed in 2011 (bug#43833).
|
|
|
|
|
| |
* lisp/subr.el (alist-get): Mention generalized variables again
for easier cross-referencing (bug#43836).
|
|
|
|
|
| |
* doc/misc/tramp.texi (Frequently Asked Questions): Clarify what
``chrooted environment means'' for TRAMP (bug#43839).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lisp/cus-edit.el (custom-actioned-widget): New variable.
Dynamically hold the widget for which to show the menu.
(custom-variable-extended-menu, custom-face-extended-menu)
(custom-group-extended-menu): Keymap menus for the State menu. Use
custom-actioned-widget for the :enable and :selected forms. Make
related items radio buttons. (Bug#4787)
(custom-variable-menu, custom-face-menu, custom-group-menu): Keep for
backward compatibility, but default to nil, so we prefer the keymap
menus instead.
(custom-variable-action, custom-face-action, custom-group-action):
Pass the keymap menu to widget-choose when the simplified menus
are nil.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lisp/isearch.el (isearch-match-data): New variable.
(isearch-mode): Set isearch-match-data to nil.
(isearch-update): Call isearch-highlight with isearch-match-data.
(isearch--state): Add isearch-match-data.
(isearch--set-state): Restore isearch-match-data.
(with-isearch-suspended): Preserve isearch-match-data.
(isearch-search): Set isearch-match-data to integers.
(isearch-group-1): Rename from isearch-group-odd and adjust colors.
(isearch-group-2): Rename from isearch-group-even and adjust colors.
(isearch-highlight): Add optional arg 'match-data'.
Rewrite search-highlight-submatches part to recycle faces.
* doc/emacs/search.texi (Search Customizations): Amend the
documentation for isearch-group faces.
(bug#6227, bug#43702)
|
|
|
|
|
| |
* src/nsterm.m (ns_clear_under_internal_border): Check the frame is
live.
|
|
|
|
|
| |
* lisp/replace.el (multi-occur--prompt): Check if 'ido-everywhere' is
bound and true (bug#41633).
|
|
|
|
|
| |
* lisp/ibuffer.el (ibuffer-compile-make-substring-form): Fix args of
truncate-string-to-width call (bug#41250)
|
|
|
|
|
| |
This was accidentally included in a9f147af716aa026ec7778202901c4cb4bd5487d
"Use the full name of the null byte/character, not its abbreviation".
|
|
|
|
|
| |
(truncate-string-ellipsis): Use the '…' character itself since it
should work now and is more readable.
|