Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: 2Re: a Couple of questions!

by jonadab (Parson)
on Sep 20, 2003 at 18:51 UTC ( #292889=note: print w/replies, xml ) Need Help??


in reply to 2Re: a Couple of questions!
in thread a Couple of questions!

Making a table is so much easier with the mouse

With a decent editor1, this is simply not true. A few lines of lisp in your configuration go a *long* way toward reducing the amount of typing you have to do. In cperl-mode (with my custom enhancements in the hook), I hit one keystroke for my insert-tag function, type in table, hit Enter, and the following is inserted:

<table width=\"100%\"><thead> <tr><th></th></tr> </thead><tbody> <tr><td></td></tr> </tbody></table>
And it leaves my cursor positioned inside the th. Similar shortcuts exist for other common tasks. My fingers never have to leave the keyboard.


1 -- By <q>a decent editor</q> I of course mean Emacs, but this is not intended to start an editor war; feel free to customise your editor of choice in a similar fashion, if it provides the facilities for you to do so.

$;=sub{$/};@;=map{my($a,$b)=($_,$;);$;=sub{$a.$b->()}} split//,".rekcah lreP rehtona tsuJ";$\=$ ;->();print$/

Replies are listed 'Best First'.
4Re: a Couple of questions!
by jeffa (Bishop) on Sep 26, 2003 at 15:17 UTC

    I think we are comparing apples and oranges here ... I recently designed a web site that used some pretty complex table arrangements for the layout of certain 'widgets'. I used Macromedia Fireworks to design the graphic first, then i "sliced" the graphic into pieces, keeping some elements as graphics while replacing others with modifiable text.

    Emacs may be a nice editor, but it won't do that, as it really only deals with text. If i have time, i can recreate an example, but can't show you the one i made ... contract. :(

    jeffa

    L-LL-L--L-LL-L--L-LL-L--
    -R--R-RR-R--R-RR-R--R-RR
    B--B--B--B--B--B--B--B--
    H---H---H---H---H---H---
    (the triplet paradiddle with high-hat)
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://292889]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2022-12-03 23:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?