Re: completion in nxml

Jeff Rancier <[email protected]> Sat, 13 Oct 2012 10:35:39 -0700 (PDT)
Newsgroups gmane.emacs.nxml.general
Message-ID <[email protected]>
---929011800-932334316-1350149739=:98738
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Aye!
=C2=A0
Jeffery B. Rancier=20
Software Engineer
http://www.linkedin.com/pub/jeff-rancier/9/996/aa9


>________________________________
> From: Dave Pawson <[email protected]>
>To: [email protected]=20
>Sent: Friday, October 12, 2012 2:48 AM
>Subject: Re: [emacs-nxml-mode] completion in nxml
>=20
>
>=C2=A0=20
>On 11 October 2012 22:00, RonB <[email protected]> wrote:
>> Newbie. Downloaded latest Gnu Emacs for Windows. Studying nxml. It appea=
rs that:
>>
>> a) Lots of websites tell you that nxml-complete is bound to C-RET.
>> b) This is not true in GNU Emacs 24.2.1.
>> c) nxml-complete isn't bound to any key
>> d) C-RET isn't bound to any function
>> e) completion-at-point is bound to Alt-tab, inconvenient if not useless =
for Windows users.
>>
>> After some poking around, I went with adding this line:
>>
>>      (global-set-key [C-return] 'completion-at-point)
>>
>> to my .emacs.d/init.el file. The question was, assuming I want completio=
n bound to ctrl-return instead of Alt-Tab, was this a reasonable way to do =
it?
>
>It's a personal choice, you choose the keys you want to customize?
>There isn't a 'wrong' combination.
>
>regards
>
>--=20
>Dave Pawson
>XSLT XSL-FO FAQ.
>Docbook FAQ.
>http://www.dpawson.co.uk
>
>=20
>
>
---929011800-932334316-1350149739=:98738
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit





<head>

<style type="text/css">
<!--

/* start of attachment style */
       .ygrp-photo-title{
         clear: both;
         font-size: smaller;
         height: 15px;
         overflow: hidden;
         text-align: center;
         width: 75px;
       }
       div.ygrp-photo{
         background-position: center;
         background-repeat: no-repeat;
         background-color: white;
         border: 1px solid black;
         height: 62px;
         width: 62px;
       }

       div.photo-title 
         a,
         div.photo-title a:active,
         div.photo-title a:hover,
         div.photo-title a:visited {
           text-decoration: none; 
       }

       div.attach-table div.attach-row {
         clear: both;
       }

       div.attach-table div.attach-row div {
         float: left;
         /* margin: 2px;*/
       }

       p {
         clear: both;
         padding: 15px 0 3px 0;
	 overflow: hidden;
       }

       div.ygrp-file {
         width: 30px;
         valign: middle;
       }
       div.attach-table div.attach-row div div a {
         text-decoration: none;
       }

       div.attach-table div.attach-row div div span {
         font-weight: normal;
       }

       div.ygrp-file-title {
         font-weight: bold;
       }
 /* end of attachment style */
        -->
        </style>
        </head>
<html><body>




<div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span>Aye!</span></div><div>&nbsp;</div><div>Jeffery B. Rancier <br>Software Engineer<br>http://www.linkedin.com/pub/jeff-rancier/9/996/aa9<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;">  <div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Dave Pawson &lt;[email protected]&gt;<br> <b><span style="font-weight: bold;">To:</span></b> [email protected] <br> <b><span style="font
 -weight: bold;">Sent:</span></b> Friday, October 12, 2012 2:48 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [emacs-nxml-mode]
 completion in nxml<br> </font> </div> <br>
<div id="yiv366576806">













<div>
<span style="display:none;">&nbsp;</span>



    <div id="yiv366576806ygrp-text">
      
      
      <div>On 11 October 2012 22:00, RonB &lt;<a rel="nofollow" ymailto="mailto:ronburk%40gmail.com" target="_blank" href="mailto:ronburk%40gmail.com">[email protected]</a>&gt; wrote:<br>
&gt; Newbie. Downloaded latest Gnu Emacs for Windows. Studying nxml. It appears that:<br>
&gt;<br>
&gt; a) Lots of websites tell you that nxml-complete is bound to C-RET.<br>
&gt; b) This is not true in GNU Emacs 24.2.1.<br>
&gt; c) nxml-complete isn't bound to any key<br>
&gt; d) C-RET isn't bound to any function<br>
&gt; e) completion-at-point is bound to Alt-tab, inconvenient if not useless for Windows users.<br>
&gt;<br>
&gt; After some poking around, I went with adding this line:<br>
&gt;<br>
&gt;      (global-set-key [C-return] 'completion-at-point)<br>
&gt;<br>
&gt; to my .emacs.d/init.el file. The question was, assuming I want completion bound to ctrl-return instead of Alt-Tab, was this a reasonable way to do it?<br>
<br>
It's a personal choice, you choose the keys you want to customize?<br>
There isn't a 'wrong' combination.<br>
<br>
regards<br>
<br>
-- <br>
Dave Pawson<br>
XSLT XSL-FO FAQ.<br>
Docbook FAQ.<br>
http://www.dpawson.co.uk<br>
</div>

    </div>
     



</div>





</div><br><br> </div> </div> </blockquote></div>   </div>



<!-- |**|begin egp html banner|**| -->

<br>

    
    
<br>

<!-- |**|end egp html banner|**| -->


<div width="1" style="color: white; clear: both;"/>__._,_.___</div>

<!-- Start Recommendations -->
<!-- End Recommendations -->



<!-- |**|begin egp html banner|**| -->

  <img src="http://geo.yahoo.com/serv?s=97476590/grpId=10952198/grpspId=1706030390/msgId=2131/stime=1350149743" width="1" height="1"> <br>

<!-- |**|end egp html banner|**| -->

    
<!-- |**|begin egp html banner|**| -->

<br>
      <div style="font-family: verdana; font-size: 77%; border-top: 1px solid #666; padding: 5px 0;" >
      Your email settings: Individual Email|Traditional <br>
      <a href="http://groups.yahoo.com/group/emacs-nxml-mode/join;_ylc=X3oDMTJndjk5Z3N2BF9TAzk3NDc2NTkwBGdycElkAzEwOTUyMTk4BGdycHNwSWQDMTcwNjAzMDM5MARzZWMDZnRyBHNsawNzdG5ncwRzdGltZQMxMzUwMTQ5NzQz">Change settings via the Web</a> (Yahoo! ID required) <br>
      Change settings via email: <a href="mailto:[email protected]?subject=Email Delivery: Digest">Switch delivery to Daily Digest</a> | <a href = "mailto:[email protected]?subject=Change Delivery Format: Fully Featured">Switch to Fully Featured</a> <br>
           <a href="http://groups.yahoo.com/group/emacs-nxml-mode;_ylc=X3oDMTJlYWcwamtlBF9TAzk3NDc2NTkwBGdycElkAzEwOTUyMTk4BGdycHNwSWQDMTcwNjAzMDM5MARzZWMDZnRyBHNsawNocGYEc3RpbWUDMTM1MDE0OTc0Mw--">
        Visit Your Group 
      </a> |
      <a href="http://docs.yahoo.com/info/terms/">
        Yahoo! Groups Terms of Use
      </a> |
      <a href="mailto:[email protected]?subject=Unsubscribe">
       Unsubscribe 
      </a> 
 <br>
    </div>
  <br>

<!-- |**|end egp html banner|**| -->


<div style="color: white; clear: both;"/>__,_._,___</div>
</body></html>
---929011800-932334316-1350149739=:98738--