Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
b95b34e5
Commit
b95b34e5
authored
Nov 19, 2000
by
Gerd Moellmann
Browse files
*** empty log message ***
parent
5bdd7bdd
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5580 additions
and
1 deletion
+5580
-1
etc/NEWS
etc/NEWS
+62
-0
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/textmodes/artist.el
lisp/textmodes/artist.el
+5505
-0
src/ChangeLog
src/ChangeLog
+9
-1
No files found.
etc/NEWS
View file @
b95b34e5
...
...
@@ -1577,6 +1577,68 @@ you need to put it somewhere into Emacs' load path and add the atom
** New modes and packages
*** Artist is an Emacs lisp package that allows you to draw lines,
rectangles and ellipses by using your mouse and/or keyboard. The
shapes are made up with the ascii characters |, -, / and \.
Features are:
- Intersecting: When a `|' intersects with a `-', a `+' is
drawn, like this: | \ /
--+-- X
| / \
- Rubber-banding: When drawing lines you can interactively see the
result while holding the mouse button down and moving the mouse. If
your machine is not fast enough (a 386 is a bit too slow, but a
pentium is well enough), you can turn this feature off. You will
then see 1's and 2's which mark the 1st and 2nd endpoint of the line
you are drawing.
- Arrows: After having drawn a (straight) line or a (straight)
poly-line, you can set arrows on the line-ends by typing < or >.
- Flood-filling: You can fill any area with a certain character by
flood-filling.
- Cut copy and paste: You can cut, copy and paste rectangular
regions. Artist also interfaces with the rect package (this can be
turned off if it causes you any trouble) so anything you cut in
artist can be yanked with C-x r y and vice versa.
- Drawing with keys: Everything you can do with the mouse, you can
also do without the mouse.
- Aspect-ratio: You can set the variable artist-aspect-ratio to
reflect the height-width ratio for the font you are using. Squares
and circles are then drawn square/round. Note, that once your
ascii-file is shown with font with a different height-width ratio,
the squares won't be square and the circles won't be round.
- Drawing operations: The following drawing operations are implemented:
lines straight-lines
rectangles squares
poly-lines straight poly-lines
ellipses circles
text (see-thru) text (overwrite)
spray-can setting size for spraying
vaporize line vaporize lines
erase characters erase rectangles
Straight lines are lines that go horizontally, vertically or
diagonally. Plain lines go in any direction. The operations in
the right column are accessed by holding down the shift key while
drawing.
It is possible to vaporize (erase) entire lines and connected lines
(rectangles for example) as long as the lines being vaporized are
straight and connected at their endpoints. Vaporizing is inspired
by the drawrect package by Jari Aalto <jari.aalto@poboxes.com>.
- Picture mode compatibility: Artist is picture mode compatible (this
can be turned off).
+++
***
The new package Eshell is an operating system command shell
implemented entirely in Emacs Lisp. Use `M-x eshell' to invoke it.
...
...
lisp/ChangeLog
View file @
b95b34e5
2000-11-19 Gerd Moellmann <gerd@gnu.org>
* textmodes/artist.el: New file.
2000-11-19 Andre Spiegel <spiegel@gnu.org>
* vc-rcs.el (vc-rcs-state): Call vc-workfile-unchanged-p only here,
...
...
lisp/textmodes/artist.el
0 → 100644
View file @
b95b34e5
This diff is collapsed.
Click to expand it.
src/ChangeLog
View file @
b95b34e5
2000-11-19 Gerd Moellmann <gerd@gnu.org>
* sysdep.c (emacs_ospeed): New variable.
(toplevel): Don't declare ospeed extern.
(init_baud_rate): Use emacs_ospeed instead of ospeed.
* termcap.c (ospeed): Remove.
(tputs) [!emacs]: Remove unused code.
(tgetent): Avoid a compiler warning.
* xterm.c (x_set_toolkit_scroll_bar_thumb, x_scroll_bar_create)
(x_scroll_bar_remove, XTset_vertical_scroll_bar): Call
SCROLL_BAR_X_WIDGET with addtional argument DPY.
SCROLL_BAR_X_WIDGET with add
i
tional argument DPY.
* xterm.h (struct scroll_bar): Members x_widget_low, x_widget_high
removed.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment