Hallöchen!

David Kastrup <[EMAIL PROTECTED]> writes:

> Torsten Bronger <[EMAIL PROTECTED]> writes:
>
>> I suggest two renamings of unit abbreviations in calc-units.el,
>> in the attached patch.
>>
>> "pt" should become "pint" in order to make room for the
>> typographic point (pt).  I think this is more practical since the
>> latter is much more significant for calc usage, and its current
>> abbreviation "tpt" isn't used outside calc.
>>
>> Secondly, "point" should be renamed "bp" (big point).  It's not
>> *the* point after all (but an invention by Adobe, as far as I
>> know).
>
> It is pretty widespread, I think.
>
>> [...]
>
> Anyway, I think it unreasonable to work with gal, qt, but then
> require "pint".  If gal and qt are the usual abbreviations, then I
> think the normally used abbreviation for pint should also be used.
> Sure, TeX users would prefer to have pt and bp, but I don't think
> at the price of making the Imperial system inconsistent.

Thanks to you and Miles for your input.  The most important "point"
is indeed the "1/72in" point.  Therefore, I attached a slightly
different proposal: Keep "tpt" and add "pt" as a synonym for
"point".

(If changes are adopted, I'll also send the corresponding patch for
the docs.)

Index: calc-units.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/calc/calc-units.el,v
retrieving revision 1.19
diff -c -r1.19 calc-units.el
*** calc-units.el	18 Sep 2005 12:42:35 -0000	1.19
--- calc-units.el	16 Oct 2005 08:42:57 -0000
***************
*** 59,66 ****
      ( fath    "6 ft"		     "Fathom" )
      ( u       "1 um"		     "Micron" )
      ( mil     "in/1000"	     "Mil" )
!     ( point   "in/72"		     "Point (1/72 inch)" )
!     ( tpt     "in/72.27"	     "Point (TeX conventions)" )
      ( Ang     "1e-10 m"	     "Angstrom" )
      ( mfi     "mi+ft+in"	     "Miles + feet + inches" )
  
--- 59,67 ----
      ( fath    "6 ft"		     "Fathom" )
      ( u       "1 um"		     "Micron" )
      ( mil     "in/1000"	     "Mil" )
!     ( point   "in/72"		     "DTP point" )
!     ( pt      "point"		     "DTP point" )
!     ( tpt     "in/72.27"	     "Typographic point" )
      ( Ang     "1e-10 m"	     "Angstrom" )
      ( mfi     "mi+ft+in"	     "Miles + feet + inches" )
  
***************
*** 73,86 ****
      ( l       "1e-3 m^3"	     "*Liter" )
      ( L       "1e-3 m^3"	     "Liter" )
      ( gal     "4 qt"		     "US Gallon" )
!     ( qt      "2 pt"		     "Quart" )
!     ( pt      "2 cup"		     "Pint" )
      ( cup     "8 ozfl"		     "Cup" )
      ( ozfl    "2 tbsp"		     "Fluid Ounce" )
      ( floz    "2 tbsp"		     "Fluid Ounce" )
      ( tbsp    "3 tsp"		     "Tablespoon" )
      ( tsp     "4.92892159375 ml"    "Teaspoon" )
!     ( vol     "tsp+tbsp+ozfl+cup+pt+qt+gal" "Gallons + ... + teaspoons" )
      ( galC    "4.54609 l"	     "Canadian Gallon" )
      ( galUK   "4.546092 l"	     "UK Gallon" )
  
--- 74,87 ----
      ( l       "1e-3 m^3"	     "*Liter" )
      ( L       "1e-3 m^3"	     "Liter" )
      ( gal     "4 qt"		     "US Gallon" )
!     ( qt      "2 pint"		     "Quart" )
!     ( pint    "2 cup"		     "Pint" )
      ( cup     "8 ozfl"		     "Cup" )
      ( ozfl    "2 tbsp"		     "Fluid Ounce" )
      ( floz    "2 tbsp"		     "Fluid Ounce" )
      ( tbsp    "3 tsp"		     "Tablespoon" )
      ( tsp     "4.92892159375 ml"    "Teaspoon" )
!     ( vol     "tsp+tbsp+ozfl+cup+pint+qt+gal" "Gallons + ... + teaspoons" )
      ( galC    "4.54609 l"	     "Canadian Gallon" )
      ( galUK   "4.546092 l"	     "UK Gallon" )
  
***************
*** 146,154 ****
      ( hp      "745.7 W"	     "Horsepower" )
  
      ;; Temperature
!     ( K       nil                   "*Degree Kelvin"     K )
!     ( dK      "K"		     "Degree Kelvin"	  K )
!     ( degK    "K"		     "Degree Kelvin"	  K )
      ( dC      "K"		     "Degree Celsius"	  C )
      ( degC    "K"      	     "Degree Celsius"	  C )
      ( dF      "(5/9) K"	     "Degree Fahrenheit"  F )
--- 147,153 ----
      ( hp      "745.7 W"	     "Horsepower" )
  
      ;; Temperature
!     ( K       nil                   "*Kelvin"     K )
      ( dC      "K"		     "Degree Celsius"	  C )
      ( degC    "K"      	     "Degree Celsius"	  C )
      ( dF      "(5/9) K"	     "Degree Fahrenheit"  F )
P.S.: The patch also removes the "degree" for "Kelvin".  It was
included in a list I had sent to the then maintainer two years ago,
however, he seems to have missed this one.
-- 
Torsten Bronger, aquisgrana, europa vetus            ICQ 264-296-646
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to