all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mahesh Padmanabhan <mahesh@privacy.net>
Subject: Java mixed case deletion
Date: Tue, 26 Oct 2004 11:21:26 -0600	[thread overview]
Message-ID: <2u7fcnF26ss6cU1@uni-berlin.de> (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

             reply	other threads:[~2004-10-26 17:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-26 17:21 Mahesh Padmanabhan [this message]
2004-10-26 19:23 ` Java mixed case deletion Benjamin Rutt
2004-10-26 19:52   ` Mahesh Padmanabhan
2004-10-26 22:41   ` Kevin Rodgers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2u7fcnF26ss6cU1@uni-berlin.de \
    --to=mahesh@privacy.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.