Keyboard Shortcuts

File
u :up to issue
m :publish + mail comments
M :edit review message
j / k :jump to file after / before current file
J / K :jump to next file with a comment after / before current file
Side-by-side diff
i :toggle intra-line diffs
e :expand all comments
c :collapse all comments
s :toggle showing all comments
n / p :next / previous diff chunk or comment
N / P :next / previous comment
<Up> / <Down> :next / previous line
<Enter> :respond to / edit current comment
d :mark current comment as done
Issue
u :up to list of issues
m :publish + mail comments
j / k :jump to patch after / before current patch
o / <Enter> :open current patch in side-by-side view
i :open current patch in unified diff view
Issue List
j / k :jump to issue after / before current issue
o / <Enter> :open current issue
# : close issue
Comment/message editing
<Ctrl> + s or <Ctrl> + Enter :save comment
<Esc> :cancel edit
Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(34)
Issues Repositories Search
Open Issues | Closed Issues | All Issues | Sign in with your Google Account to create issues and add comments

Issue 5495046: Add a plumb: url scheme to plumb.app

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years ago by robkroeger
Modified:
13 years, 2 months ago
Reviewers:
CC:
rsc, codebot
Visibility:
Public.

Patch Set 1 #

Patch Set 2 : revised patch, per comments #

Created: 13 years, 11 months ago
Download [raw] [tar.bz2]
Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -1 line) Patch
M src/cmd/devdraw/macargv.m View 1 3 chunks +16 lines, -1 line 0 comments Download
Total messages: 10
|
robkroeger
14 years ago (2011年12月15日 12:57:52 UTC) #1
Sign in to reply to this message.
robkroeger
This patch adds a plumb: url helper scheme to plumb.app so that links of the ...
14 years ago (2011年12月15日 13:00:07 UTC) #2
This patch adds a plumb: url helper scheme to plumb.app so that links of the
form of plumb://open?url=/tmp/foo.txt in a html page would request the plumber
to open foo.txt.
Please have a look.
Sign in to reply to this message.
rsc
It seems like there is a lot of unnecessary syntax here (open, url, file://). Is ...
14 years ago (2011年12月15日 15:35:12 UTC) #3
It seems like there is a lot of unnecessary syntax here
(open, url, file://). Is there a reason for the generality
as compared with, say, plumb:/tmp/foo.txt?action=edit
Sign in to reply to this message.
robkroeger
On 2011年12月15日 15:35:12, rsc wrote: > It seems like there is a lot of unnecessary ...
14 years ago (2011年12月16日 13:26:40 UTC) #4
On 2011年12月15日 15:35:12, rsc wrote:
> It seems like there is a lot of unnecessary syntax here
> (open, url, file://). Is there a reason for the generality
> as compared with, say, plumb:/tmp/foo.txt?action=edit
My goal was to re-use tools that I had found from a time when I was exploring
TextMate so I took the URL scheme from there
(http://manual.macromates.com/en/using_textmate_from_terminal#url_scheme_html).
It seemed easier to write one slightly more complicated plumber rule and replace
txtmt: with plumb: in script output instead of needing to understand someone
else's code for html generation.
The objective C code delivers the entire url so I'm perfectly happy to write a
simpler example scheme for plumb/base and keep my (theoretically
effort-reducing) more complicated rule in a personal plumbing rule if that would
be more lgtm-able. Please advise.
Rob.
Sign in to reply to this message.
rsc
For now let's just do plumb:<thing> means run 'plumb -d edit thing'. The script in ...
14 years ago (2011年12月16日 15:22:28 UTC) #5
For now let's just do
 plumb:<thing>
means run 'plumb -d edit thing'.
The script in Plumb.app should handle the case
instead of having to do it in the plumb rules.
Russ
Sign in to reply to this message.
robkroeger
13 years, 11 months ago (2012年02月01日 12:33:42 UTC) #6
Sign in to reply to this message.
robkroeger
PTAL. Simpler patch usually means better patch. :-)
13 years, 11 months ago (2012年02月01日 12:34:51 UTC) #7
PTAL. Simpler patch usually means better patch. :-)
Sign in to reply to this message.
robkroeger
Please take another look at the revised change.
13 years, 11 months ago (2012年02月08日 11:44:34 UTC) #8
Please take another look at the revised change.
Sign in to reply to this message.
robkroeger
On 2012年02月08日 11:44:34, robkroeger wrote: > Please take another look at the revised change. Hi ...
13 years, 2 months ago (2012年10月20日 12:19:44 UTC) #9
On 2012年02月08日 11:44:34, robkroeger wrote:
> Please take another look at the revised change.
Hi Russ,
I think this CL got lost in the shuffle. Could you maybe take a look?
Sign in to reply to this message.
rsc
*** Submitted as http://code.google.com/p/plan9port/source/detail?r=64a908db98f0 *** plumb.app: accept plumb:foo as alias for foo R=rsc CC=plan9port.codebot http://codereview.appspot.com/5495046 ...
13 years, 2 months ago (2012年10月21日 16:53:42 UTC) #10
*** Submitted as http://code.google.com/p/plan9port/source/detail?r=64a908db98f0
***
plumb.app: accept plumb:foo as alias for foo
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5495046
Committer: Russ Cox <rsc@swtch.com>
Sign in to reply to this message.
|
This is Rietveld f62528b

AltStyle によって変換されたページ (->オリジナル) /