Commit Graph

105 Commits

Author SHA1 Message Date
Alex Schroeder
539c83389e Emacs interface: fixed vc-diff, history is back
The history command was interesting because it limits the display to
those revisions that are actually available for diff and rollback.
Eventually this might form the basis of a better interface.

The vc-diff code also needed to be fixed.
2014-11-14 22:51:46 +01:00
Alex Schroeder
4376c99903 oddmuse-curl: provide oddmuse-curl
It used to provide oddmuse, and vc-oddmuse used to require oddmuse, but
that doesn't load oddmuse-curl.el.
2014-11-10 13:12:51 +01:00
Alex Schroeder
34f5b50e47 oddmuse_stats: fixed handling of non-ASCII names 2014-11-09 17:05:02 +01:00
Alex Schroeder
8c4080c8d4 oddmuse-stats: a munin plugin 2014-11-09 12:29:28 +01:00
Alex Schroeder
5721f73ce7 oddmuse-curl.el: oddmuse-search, oddmuse-match
Both may use a prefix argument to search a different wiki.
2014-10-31 09:09:52 +01:00
Alex Schroeder
c229b43a4c vc-oddmuse.el: vc-oddmuse-diff, vc-oddmuse-checkin
These simply did not work.
2014-10-31 09:08:16 +01:00
Alex Schroeder
3608900dd6 oddmuse-curl.el: Emacs 24.4 compatibility
shell-command-on-region apparently no longer returns an error number.

Also, use quotes for oddmuse-get-command.
2014-10-24 09:46:51 +02:00
Alex Schroeder
3dd2c08af3 Oddmuse mode for Emacs: Fix diff support
C-x v = calls diff and it didn't work at all; now it works again but
something about the revisions still isn't right.
2014-10-16 23:29:37 +02:00
Alex Schroeder
09a768b8f8 oddmuse-curl: make nicer RC buffer
Use shadow face for author.
2014-08-03 01:02:50 +02:00
Alex Schroeder
cee8a59c02 oddmuse-curl.el: pwd parameter handling
Two commands used 'password' instead of 'pwd' as parameter for the
password. In addition to that, oddmuse-run will now report errors, if it
thinks there are any.
2014-07-30 14:12:19 +02:00
Alex Schroeder
4aa902ec74 Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse 2014-07-28 11:36:38 +02:00
Alex Schroeder
25fc8d02c0 oddmuse-curl.el: Fixed message for new pages.
oddmuse-get-latest-revision doesn't return anything when the page is
new. In this case the previous message was confusing. Now it just says
that the page must be new.
2014-07-28 10:37:21 +02:00
Alex Schroeder
674290dfe7 add-link.pl: more improvements 2014-07-27 22:36:38 +02:00
Alex Schroeder
97f7472e01 add-link.pl: added support for /top and /match 2014-07-27 15:48:36 +02:00
Alex Schroeder
e0c30afc1d oddmuse-curl.el: Markup for interlinks. 2014-07-26 23:18:22 +02:00
Alex Schroeder
3f92abfd3f oddmuse-curl.el: fixing prefix arg handling for previews. 2014-07-26 23:08:47 +02:00
Alex Schroeder
1c0c82df12 oddmuse-curl.el: Support matching page names 2014-07-26 22:46:50 +02:00
Alex Schroeder
113aec8c44 oddmuse-curl.el: Fix Preview. 2014-07-26 16:43:04 +02:00
Alex Schroeder
3f428c8d26 oddmuse-curl.el, vc-oddmuse.el: Refactor. 2014-07-26 11:38:55 +02:00
Alex Schroeder
120c3a5362 oddmuse-curl.el: Reorganize code. 2014-07-25 15:20:59 +02:00
Alex Schroeder
151f89952d oddmuse-curl.el: refactor
Use with-oddmuse-wiki-and-pagename.
2014-07-25 11:12:57 +02:00
Alex Schroeder
2f5165db75 oddmuse-curl.el, vc-oddmuse.el: Revert support.
Also, a lot of refactoring and preparing to refactor some more.
2014-07-24 23:37:53 +02:00
Alex Schroeder
3382eb4292 copy.pl: Moved to the campaignwiki subdir 2014-07-23 16:28:08 +02:00
Alex Schroeder
803d682b83 oddmuse-curl.el: oddmuse-reload
Added oddmuse-reload as an alias for
oddmuse-compute-pagename-completion-table.
2014-07-23 16:27:59 +02:00
Alex Schroeder
b38374145d copy.pl: major rewrite 2014-07-23 16:24:53 +02:00
Alex Schroeder
3d086f4e11 oddmuse-curl.el: Change key-bindings.
Use C-c C-e for editing and C-c C-f for following, freeing C-c C-o.
2014-07-23 09:52:12 +02:00
Alex Schroeder
4e1fafe5f8 oddmuse-curl.el: Add wiki searching.
Use C-c C-s to search the wiki. Introduces oddmuse-search-command,
oddmuse-search, etc.

Also: Get rid of %?. Improve documentation for percent format strings.
2014-07-21 09:56:00 +02:00
Alex Schroeder
ddc1c55e70 oddmuse-curl.el: handle ampersand in pagenames 2014-07-16 12:43:21 +02:00
Alex Schroeder
3560181f11 oddmuse-curl.el: Improved pagename handling.
1. Use completion-ignore-case when reading a pagename.
2. Replace _ with spaces when inserting a pagename into the buffer.
3. URL-encode pagename when concatenating with the wiki URL.
2014-07-09 10:42:27 +02:00
Alex Schroeder
c074d24186 oddmuse-curl.el: Only highlight bullet with space.
This avoids conflict with bold words at the beginning of a line.
2014-07-09 10:41:24 +02:00
Alex Schroeder
4f6b1a8414 oddmuse-curl.pl: Editable *Preview* buffer.
Switch to fundamental mode (undoing view-mode) before loading a new
preview.
2014-07-03 09:10:22 +02:00
Alex Schroeder
24e9d7a67b oddmuse-curl.el: Fix line-breaking.
Allow line-breaking when we're right at the start of a link.
2014-07-02 09:46:50 +02:00
Alex Schroeder
21fdde4bc1 add-link.pl: Handle & in names.
Handle HTML quoting correctly when it comes to site names such that
sites containing an ampersand show up as & and not as &.

Inline the star.png in order to be stand-alone.
2014-07-01 16:07:19 +02:00
Alex Schroeder
1512b91885 oddmuse-curl.el: Fix parameters for oddmuse-follow 2014-07-01 10:09:54 +02:00
Alex Schroeder
70c8530b8a Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse 2014-07-01 10:08:51 +02:00
Alex Schroeder
34fc946b81 contrib: README with an explanation of the files 2014-06-30 14:43:48 +02:00
Alex Schroeder
c96f38c14a copy.pl: add use utf-8. 2014-06-30 14:40:51 +02:00
Alex Schroeder
a8e01569e9 contrib: Add +x to all .pl files 2014-06-30 14:25:10 +02:00
Alex Schroeder
21a34257e4 add-link.pl: Undid commit to the wrong location. 2014-06-30 14:24:23 +02:00
Alex Schroeder
824ea60351 add-link.pl: Script used to maintain a bookmark wiki. 2014-06-30 14:22:35 +02:00
Alex Schroeder
a7454f8089 oddmuse-curl.el: Remove extra closing parenthesis. 2014-06-30 10:00:41 +02:00
Alex Schroeder
4164cc0787 oddmuse-curl.el: Infer wiki and pagename
Replace oddmuse-read-wiki-and-pagename by oddmuse-pagename such that
the user will not be asked for a wiki and a pagename if it can be
inferred from the context.
2014-06-26 18:35:20 +02:00
Alex Schroeder
1c2f3d6cdb oddmuse-curl.el: C-u shows preview in browser 2014-06-26 18:33:55 +02:00
Alex Schroeder
0ae2941466 oddmuse-curl.el: C-c C-b to browse this page 2014-06-26 18:31:06 +02:00
Alex Schroeder
ac8ef4b96e oddmuse-curl.el: more fiddling with markup order 2014-06-25 12:17:32 +02:00
Alex Schroeder
6dfc4feaf3 oddmuse-curl.el: Reorganized, mostly for font-lock
Changed all the oddmuse-*-markup functions to variables. Reorganized
oddmuse-mode.
2014-06-24 11:46:18 +02:00
Alex Schroeder
35a4fc2659 oddmuse-curl.el: oddmuse-revert confirmation
oddmuse-revert will now ask for confirmation before reverting the
current buffer.
2014-06-24 11:44:23 +02:00
Alex Schroeder
e800ea6256 oddmuse-curl.el: Remove Oddmuse Wiki from oddmuse-wikis
There don't seem to be a big overlap between Emacs users and Oddmuse
Wiki editors.
2014-06-24 11:42:32 +02:00
Alex Schroeder
49800641ea oddmuse-curl.el: add nobreak property
oddmuse-nobreak-p now takes into account the nobreak property. This
property is added to font-lock-extra-managed-props and used by *bold*,
_underline_ and /italic/.
2014-06-23 13:50:07 +02:00
Alex Schroeder
8e7ba3f2a2 oddmuse-curl.t: fix handing of ' in summary
Shell quoting issues, the bane of every programmer.
2014-06-23 11:32:08 +02:00