unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Java mixed case deletion
@ 2004-10-26 17:21 Mahesh Padmanabhan
  2004-10-26 19:23 ` Benjamin Rutt
  0 siblings, 1 reply; 4+ messages in thread
From: Mahesh Padmanabhan @ 2004-10-26 17:21 UTC (permalink / raw)


Hi,

I currently have the following set up as part of my java mode hook:

(add-hook 'java-mode-hook
           (function (lambda ()
                       (c-set-style              "stroustrup")
                       (c-set-offset 'inline-open 0)
                       (define-key java-mode-map  "\C-c\C-d" 'insert-date)
                       (make-local-variable      'comment-multi-line)
                       (define-key java-mode-map
                         [C-right] 'c-forward-into-nomenclature)
                       (define-key java-mode-map
                         [C-left] 'c-backward-into-nomenclature)
                       (setq comment-multi-line  t))))

The functions c-forward-into-nomenclature and 
c-backward-into-nomenclature take care of negotiating mixed case words 
but i could not find anything that allows me to delete while keeping 
mixed case in mind.

For example - if there is a word like this: SomeClass then a backward 
delete word deletes the whole word. What I want is to delete just Class 
in SomeClass.

Is it possible?

Thanks,
Mahesh

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-10-26 22:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-26 17:21 Java mixed case deletion Mahesh Padmanabhan
2004-10-26 19:23 ` Benjamin Rutt
2004-10-26 19:52   ` Mahesh Padmanabhan
2004-10-26 22:41   ` Kevin Rodgers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).