peacemaker1820 This could help identify what you have in that string:
use Unicode::CharName qw/uname/;
use Unicode::UCD qw/charinfo/;
my $value = <what you are looking at>
my $c;
print "Unicode Charname:\tHexValue:\tCharCode\n";
for (split //, $value) {
$c = ord($_);
print uname($c) .":\t" . charinfo($c)->{code} . ":\t$c\n";
}
graq, I can't help for 1 (don't use CVS, as I do short scripts 95% of the time)
However, here's the simple stuff I have in my .emacs for folding & cperl:
;; I stick my personal libs here:
(setq load-path (cons "~/elisp/" load-path))
;; Some new colors for Font-lock.
(require 'font-lock)
;; This thing is great !
(require 'folding)
(autoload 'folding-mode "folding" "Folding mode" t)
;; I prefer cperl to the usual perl-mode
(autoload 'perl-mode "cperl-mode" "alternate mode for editing Perl pro
+grams" t)
(setq cperl-hairy t)
(setq auto-mode-alist (cons '("\\.[Pp][LlMm]\\'" . cperl-mode) auto-mo
+de-alist))
(setq auto-mode-alist (cons '("\\.t\\'" . cperl-mode) auto-mode-alist)
+)
(setq auto-mode-alist (cons '("\\.pod\\'" . cperl-mode) auto-mode-alis
+t))
To mark a block (or whatever) for folding:
# Begin a fold mark:
# {{{ A space after the three { is required.
sub folded{ print "This is hidden with folding-mode";}
# }}}
# The "# }}}" ends the fold mark
The above, when folding is active displays this:
# Begin a fold mark:
# {{{ A space after the three { is required....
# The "# }}}" ends the fold mark
As for "creating" a new empty file: C-x C-f
Then enter a file name that doesn't exist in the current directory :)
If in doubt, type one or 2 chars, and hit TAB twice ... emacs has auto-completion !
HTH.
PDF::API2 Examples
A new chatterbox flavour
|